sched_clock generic for all architectures

2014-10-30 Thread Hemanth Kumar
Hi Gerg, I want know why this two commit id is not backported v3.10 1 . sched_clock: Make ARM's sched_clock generic for all architectures 2 . arch_timer: Move to generic sched_clock framework where as the 1 commit is already backported v3.11 I back ported these two commit id 3.10 arm cortex-a

回复:Re: How can I wake up one process from the wait queue?

2014-10-30 Thread Rock Lee
Hi, Raghavendra, pranjas: Thanks for your reply, add_wait_queue_exclusive() is perfect. - 原始邮件 - 发件人:Raghavendra 收件人:kernelnewbies@kernelnewbies.org 主题:Re: How can I wake up one process from the wait queue? 日期:2014年10月30日 16点52分 On Thursday 30 October 2014 02:02 PM, Rock

Re: [PATCH] staging: rtl8723au: Fix brace coding style issues reported by checkpatch

2014-10-30 Thread nick
I am trying to improve my rep first through. Cheers Nick On 14-10-30 12:21 AM, Sudip Mukherjee wrote: > On Thu, Oct 30, 2014 at 5:34 AM, nick wrote: >> I don't mind waiting. I am just honestly trying to improve my rep here and >> actually(hopefully) get a job >> doing this full time. > > great

Re: How can I wake up one process from the wait queue?

2014-10-30 Thread Raghavendra
On Thursday 30 October 2014 02:02 PM, Rock Lee wrote: Hi, everyone I am implementing a simple driver to experiment with wait queue.Two or more read processes block until a write process changes a flag and call wake_up_interruptible().I expect that a write process will only wake up one read p

Re: How can I wake up one process from the wait queue?

2014-10-30 Thread Pranay Srivastava
Hi You got to use exclusive wait queues here. Needs a bit more lines but you can specify exactly how many tasks you want woken up. You should be able to look it up easily on how to use it. On Thu, Oct 30, 2014 at 2:02 PM, Rock Lee wrote: > Hi, everyone > > I am implementing a simple driver to e

How can I wake up one process from the wait queue?

2014-10-30 Thread Rock Lee
Hi, everyoneI am implementing a simple driver to experiment with wait queue.Two or more read processes block until a write process changes a flag and call wake_up_interruptible().I expect that a write process will only wake up one read process.However, once a write process calls wake_up_interru

Query on the ci_udc driver for USB client implementation

2014-10-30 Thread Victor Ascroft
Hello, I am currently implementing USB Host and client support for Freescale Vybrid platform in u-boot. I managed to get the host implementation working. For the host side, usb start calls usb_init(), which in turns call, usb_lowlevel_init(), from there into the ehic_hcd_init() of my implemen

Why page fault handler behaved this way? Please help!

2014-10-30 Thread 秦弋戈
Dear all, I am a kernel newbie who want's to learn more about memory management. Recently I'm doing some experiment on page fault handler. There happened something that I couldn't understand. From reading the book Understanding the Linux Kernel, I know that the kernel loads a page as late