Hi,
When I do spin_lock_irq it disables IRQ's which were enabled. What is
the reason for disabling all the irq's rather than disabling the
specific IRQ line which shares the resource? Wouldn't this be more
efficient and would not lose any interrupts especially if I have a
critical sensor ADC?
The simple answer would be we do not want to be interrupted during a interrupt
handler. For SMP, there are other CPUs which can respond to IRQs.
-daveti
On Nov 2, 2014, at 2:30 PM, mind entropy mindentr...@gmail.com wrote:
Hi,
When I do spin_lock_irq it disables IRQ's which were
Hello,
I was going through kernel source and found out that I can work on staging area
for fixes.
I have generated a patch for coding style fixes.
I have few questions about how do submit my patch and to whom.
1) Is it ok if I send it directly to Greg Kroah-Hartman
On 2014.11.02 16:39, Sunil Shahu wrote:
Hello,
I was going through kernel source and found out that I can work on staging
area for fixes.
Hello, that's ok. Many people start there.
I have generated a patch for coding style fixes.
I have few questions about how do submit my patch and to
Forwarded Message
Subject: Re: [PATCH] staging: Fix checkpatch error messages about unneeded
space before commas in ms.c
Date: Sun, 2 Nov 2014 15:56:36 +0100
From: Peter Senna Tschudin peter.se...@gmail.com
To: Nicholas Krause xerofo...@gmail.com
This is good! You can try to
On Sun, 02 Nov 2014 19:57:44 +0530, mind entropy said:
In the copy_from_user when the user passes the virtual address is
the address mapped in the kernel page tables?
Actually, a large part of the reason for copy_from_user()'s existence is
to deal with the possibility that the page is *not*
--
Regards,
Manohar Singh Aswal.
+91-9916523441
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Mon, Nov 3, 2014 at 6:45 AM, valdis.kletni...@vt.edu wrote:
On Sun, 02 Nov 2014 19:57:44 +0530, mind entropy said:
In the copy_from_user when the user passes the virtual address is
the address mapped in the kernel page tables?
Actually, a large part of the reason for copy_from_user()'s