Re: Preventing a cached changed page from being written

2008-09-13 Thread Peter Teoh
On Sat, Sep 13, 2008 at 8:57 PM, Mulyadi Santosa <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 4:33 AM, Peter Teoh <[EMAIL PROTECTED]> wrote: >>> >>> To the best I know, you can only lock anonymous page... >>> >> >> interestingnever knew thatdo u know (or guess) why? > > It is based

Re: Preventing a cached changed page from being written

2008-09-13 Thread Mulyadi Santosa
On Sat, Sep 13, 2008 at 4:33 AM, Peter Teoh <[EMAIL PROTECTED]> wrote: >> >> To the best I know, you can only lock anonymous page... >> > > interestingnever knew thatdo u know (or guess) why? It is based on my assumption that anonymous page doesn't have backing storage, thus it's kinda mak

Re: Wrong/misleading SoftIRQ statistics in account_system_time()?

2008-09-13 Thread Mulyadi Santosa
On Sat, Sep 13, 2008 at 12:52 AM, Elad Lahav <[EMAIL PROTECTED]> wrote: > I hacked the kernel so that account_system_time() can differentiate between > "true" soft > IRQs and code running under local_bh_disable(). (The hack itself is quite > ugly, but does > the job). An experiment that sends UDP p

Re: doubt on atomic increment operation

2008-09-13 Thread Mulyadi Santosa
Hi... On Sat, Sep 13, 2008 at 1:28 PM, Sri Ram K Vemulpali <[EMAIL PROTECTED]> wrote: > Hi all, > > what is the difference between incb %al and incb $i. According to my > knowledge if you have some thing like "i++" (in c) then it is translated in > to movw $i %ebx, incw %ebx, movw %ebx $i. My que

Re: Kernel Module?

2008-09-13 Thread Sandeep K Sinha
On Sat, Sep 13, 2008 at 7:36 AM, Shaz <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 2:14 AM, Elad Lahav > <[EMAIL PROTECTED]> wrote: > >> I compiled a software which had a kernel module as well apart from > >> userspace. I am running ubuntu so I have the linux headers that came > >> with ub

Re: kernel build question

2008-09-13 Thread umesh b
On Thu, Sep 11, 2008 at 7:51 PM, Wang Yi <[EMAIL PROTECTED]> wrote: > Yeah, I think this is worth trying... > Build a kernel config, leave "general options" as default and only > select necessary hardware drivers, that's customized kernel and > consume minimum resources, compiling and running quick

Re: kernel build question

2008-09-13 Thread umesh b
>> Thats correct. But how do i know what all i need to select? suppose >> the motherboard supports PCI express, or maybe some I2C chip. The >> devices we can see using cat /proc/devices but what about things that >> the motherboard supports? do i need to go through the motherboard >> manual? > > Do