delay in booting due to consloe_unlock inprintk

2011-12-22 Thread Syam
HI All, I am getting more than 1 sec delay during booting. While registering console (for serial console ttys ), there is about 1 sec delay in executing the console_unlock() in printk.c It was found that delay is occuring in call_console_drivers() ** if (c == '\n') { i

kernel lock-free stack

2011-12-22 Thread srimugunthan dhandapani
Hi all, Are there any example implementations in the linux kernel for lock free stacks,queues and linked list using "Compare and swap" primitive? Thanks, mugunthan ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies

Re: kernel memory allocation

2011-12-22 Thread Dave Hylands
Hi, On Thu, Dec 22, 2011 at 6:33 PM, J.Hwan Kim wrote: > Hi, everyone > > How can I allocated contiguous kernel memory over 128MB ? > When I use _get_free_pages() function, it returns error. > I guess the memory size is greater than the amount which the function > can allocate. You can use bootm

kernel memory allocation

2011-12-22 Thread J.Hwan Kim
Hi, everyone How can I allocated contiguous kernel memory over 128MB ? When I use _get_free_pages() function, it returns error. I guess the memory size is greater than the amount which the function can allocate. Thanks in advance. Best Regards, J.Hwan Kim __

logging kernel panics with netconsole

2011-12-22 Thread chromaticwt zac
my laptop is getting kernel panics often. I have a desktop connected to my internet router via ethernet, and my laptop connected to my router via wifi. how can I log my laptops panics on my desktop? I'm hoping to do this using wifi somehow. I am a newbie, and I know nothing about networking. should

Re: Packet drop while using BPF filter

2011-12-22 Thread Raghavendra D Prabhu
Hi, Have you tried enabling -- /proc/sys/net/core/bpf_jit_enable -- provides JIT compiled BPF on 64 bit linux. * On Wed, Dec 21, 2011 at 12:08:04AM +0530, Mukesh Yadav wrote: >Hi Guys, > >I am working on user level code which uses BPF filter. >Solution has two threads and BPF filter

Re: Memory barrier

2011-12-22 Thread Vladimir Murzin
Hi, In my opinion it is not correct to say "make order on current CPU" in case of SMP. Actually, we cope with shared resource here - memory, and observes for that resource - CPUs. As soon as CPU is asked to make a barrier (with some sort of instruction) access to shared resource is ordered among