Re: Linux virtual memory manager

2005-04-01 Thread lk
function you are trying to look for an equivalent of try_to_swap_out() is add_to_swap() and after that try_to_unmap() which will add the page of page cache to swap cache and remove entry from the page table respectively. regards lk - Original Message - From: "Josef E. Galea&quo

Re: Timers to threads

2005-03-31 Thread lk
); schedule_timeout(unsigned long timeout); /* schedule_timeout(10*HZ) will suspend process & resume execution after 10 seconds */ set_current_state(TASK_RUNNING); } hope it helps regards lk - Original Message - From: "Banu R Reefath" <[EMAIL PROTECTED]> To: Sent: Wedne

PROBLEM: Ignoring blocked signals in 2.6 / 2.4 not possible

2005-02-26 Thread lk
Hi, I have a question regarding blocked signals: Is the current implementation to ignore attempts to set SIG_IGN on blocked signals correct? The following code will go into an endless loop on kernels 2.6.10 and 2.4.25, which is IMHO not the behaviour one would expect. #in

PROBLEM: Ignoring blocked signals in 2.6 / 2.4

2005-02-25 Thread lk
Hi, I have a question regarding blocked signals: Is the current implementation to ignore attempts to set SIG_IGN on blocked signals correct? The following code will go into an endless loop on kernels 2.6.10 and 2.4.25, which is IMHO not the behaviour one would expect. #in

Re: directory order of files

2001-06-29 Thread lk
on reiserfs ls -U show soething like: one two four three On Fri, 29 Jun 2001, Edmund GRIMLEY EVANS wrote: > With Linux ext2, and some other systems, when you create files in a > new directory, the file system remembers their order: > > $ mkdir new > $ cd new > $ touch one two three four >

RE: When the FUD is all around (sniff).

2001-06-27 Thread lk
s. > > > Richard Schilling > > -Original Message- > From: lk [mailto:[EMAIL PROTECTED]] > > > Speaking of: > > A TV station in my country said that the most pirated products belong to > > M$ because computers cannot work wothout the GUI M$ windows

Re: When the FUD is all around (sniff).

2001-06-26 Thread lk
Speaking of: A TV station in my country said that the most pirated products belong to M$ because computers cannot work wothout the GUI M$ windows provides. In my country about 75% percent of M$ software are illegal copies :) > > I suppose they received some pression from M$, but if people

Re: CUV4X-D lockup on boot

2001-06-02 Thread lk
Further information: I inserted some printk()s in arch/i386/kernel/smpboot.c 320 static void __init synchronize_tsc_ap (void) 321 { 322 int i; 323 324 /* 325* smp_num_cpus is not necessarily known at the time 326* this gets called, so

CUV4X-D lockup on boot

2001-06-02 Thread lk
I have an ASUS CUV4X-D Dual Processor Mainboard based on a VIA 694XDP chipset. I notice from the archives that someone else has also reported a lockup with the m/b when using two cpus and have some info that may be useful to track it down. Using kernel 2.4.5 the kernel locks up sporadically at bo

Re: A question about MMX.

2001-04-21 Thread lk
Thank you all who have responded my question. Have a nice day! /me On Sat, 21 Apr 2001, Alan Cox wrote: > > I have a Intel Pentium MMX machine and it acts as a mailserver, webserver, > > ftp and I use X on it. I would like to know if the MMX instructions are > > used by the kernel in this ope

A question about MMX.

2001-04-21 Thread lk
I have a Intel Pentium MMX machine and it acts as a mailserver, webserver, ftp and I use X on it. I would like to know if the MMX instructions are used by the kernel in this operations or not (networking, X etc.). Thank you, /me - To unsubscribe from this list: send the line "unsubscribe linu

Re: Current status of NTFS support

2001-04-21 Thread lk
I have installed a Win2000 and you do not have to switch to NTFS. W2000 can be installed on a FAT32 partition. I have installed it on a FAT32 partition and hasn't caused me any problems. You might wanna give it a try. good luck, /me On Fri, 20 Apr 2001 [EMAIL PROTECTED] wrote: > > > Where d

Re: whats happening

2000-12-23 Thread keyser-lk
On Sat, 23 Dec 2000, Sourav Sen wrote: > In some parts of the kernel code I find expression like > > len = (len + ~PAGE_MASK) & PAGE_MASK ; > > Whats happening to len? It's being aligned properly. if you have a continuous array of objects that are each 8 bytes, you create a mask that's FFF8

CPRM copy protection for ATA drives

2000-12-20 Thread lk
I read this article on theregister today: http://www.theregister.co.uk/content/2/15620.html Does anyone have any details on this? I presume that the drive firmware is capable of identifying copy-protected data during a write. I also presume that nobody on lkml would condone such a terrible idea. I