Thread (25 messages) 25 messages, 5 authors, 2011-08-12

Re: [ANNOUNCE] 3.0.1-rt8 - Regression to 3.0-rt7

From: Peter Zijlstra <peterz@infradead.org>
Date: 2011-08-11 16:40:22
Also in: lkml

On Thu, 2011-08-11 at 18:04 +0200, Tim Sander wrote:
Yes it works for CONFIG_PREEMPT_RTB=y and as you say not for 
CONFIG_PREEMPT_LL=y.
quoted hunk ↗ jump to hunk
+++ b/mm/filemap.c
@@ -2040,7 +2040,7 @@ size_t iov_iter_copy_from_user_atomic(struct page *page,
        char *kaddr;
        size_t copied;
 
-       BUG_ON(!current->pagefault_disabled);
+       BUG_ON(!(in_atomic() || current->pagefault_disabled)); 
Ah, I had hoped that bit would have cured the PREEMPT_LL=y config.


But let me untangle that posix_cpu_timer stuff first, maybe that's in
the way.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help