Have sane default values for cpusets
On Wed, May 12, 2010 at 3:40 PM, Peter Zijlstra <peterz(a)infradead.org> wrote: On Wed, 2010-05-12 at 15:05 +0200, Dhaval Giani wrote: Where cpusets goes wrong is to have a *no* default values. It has a default, empty is still a valid value. Well, it is still not sane. And in the part you snipped, I di... 14 May 2010 12:48
[PATCH] remove bogus #ifdef CONFIG_TRACE_IRQFLAGS_SUPPORT for debug_kmap_atomic()
In f4112de6b679d84bd9b9681c7504be7bdfb7c7d5 I said that debug_kmap_atomic() needs CONFIG_TRACE_IRQFLAGS_SUPPORT. It was wrong. (I thought irqs_disabled() is only available when the architecture has CONFIG_TRACE_IRQFLAGS_SUPPORT) Remove the #ifdef CONFIG_TRACE_IRQFLAGS_SUPPORT check to enable kmap_atomic() debu... 12 May 2010 09:08
generic rwsem: implement down_read_unfair
Michel Lespinasse <walken(a)google.com> wrote: /* + * lock for reading - skip waiting writers + */ They may also skip waiting readers, if such are queued behind a writer. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel... 12 May 2010 09:08
rwsem: smaller wrappers around rwsem_down_failed_common
Have you tried compiling this patch? lib/rwsem.c: In function 'rwsem_down_failed_common': lib/rwsem.c:177: error: invalid type argument of '->' (have 'struct rwsem_waiter') There's a list_add_tail() that refers to waiter->list David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel... 19 May 2010 09:20
rwsem: wake queued readers when writer blocks on active read lock
Michel Lespinasse <walken(a)google.com> wrote: + /* if there are no active locks, wake the front queued process(es) up. + * + * or if we're called from a failed down_write(), and there were + * already threads queued before us, and there are no active writers, + * the lock must be read owned; try to ... 19 May 2010 09:20
rwsem: wake queued readers when other readers are active
Michel Lespinasse <walken(a)google.com> wrote: In this situation, it would be perfectly fine to let threads B and C work in parallel as they each only want a read acquire on the rwsem. We can recognize this situation and let A wake B as long as there are no active writers on the rwsem. There can't be any... 12 May 2010 09:08
x86 rwsem: take advantage of new RWSEM_WAITING_BIAS semantics
Michel Lespinasse <walken(a)google.com> wrote: static inline void __up_write(struct rw_semaphore *sem) { ... LOCK_PREFIX " xadd %1,(%2)\n\t" - /* tries to transition - 0xffff0001 -> 0x00000000 */ - " jz 1f\n" + /* substracts 0xffff0001, returns the old ... 12 May 2010 09:08
[PATCH resend] x86, amd: Check X86_FEATURE_OSVW bit before accessing OSVW MSRs
If host CPU is exposed to a guest the OSVW MSRs are not guaranteed to be present and a GP fault occurs. Thus checking the feature flag is essential. Cc: <stable(a)kernel.org> # .32.x .33.x, .34.x Signed-off-by: Andreas Herrmann <andreas.herrmann3(a)amd.com> --- arch/x86/kernel/process.c | 12 +++++++----- 1 fil... 12 May 2010 08:02
rwsem: consistently use adjustment variable
Michel Lespinasse <walken(a)google.com> wrote: Cleanup: previous change introduced an adjustment variable used in waking writers; the code to wake readers can be made nicer by making use of that same variable. Reducing variable count should hopefully help both humans and compilers looking at this fun... 12 May 2010 21:26
mqueue: fix kernel BUG caused by double free() on mq_open()
Hi, Am�rico! In the latest git, you already removed the above kfree() since it is not necessary. mqueue_delete_inode() will kfree it. so why this fix though? The applied patch is a newer/better version. This is an old version, please just ignore it. Thank you! -- To unsubscribe from this list: send the... 12 May 2010 08:02