Quantcast
Channel: Serverphorums.com - Linux Kernel
Browsing all 24115 articles
Browse latest View live
↧

[PATCH] net/wireless: Use RCU_INIT_POINTER(x, NULL) in reg.c (no replies)

This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) The rcu_assign_pointer() ensures that the initialization of a structure is carried out before storing a pointer to that...

View Article


[PATCH] virt/kvm: Use RCU_INIT_POINTER(x, NULL) in eventfd.c (no replies)

This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) The rcu_assign_pointer() ensures that the initialization of a structure is carried out before storing a pointer to that...

View Article


[PATCH] drivers/crypto: Use RCU_INIT_POINTER(x, NULL) in nx/nx-842.c (no...

This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) The rcu_assign_pointer() ensures that the initialization of a structure is carried out before storing a pointer to that...

View Article

[PATCH 1/2] ARM: shmobile: armadillo-reference dts: Use KEY_* macros for...

From: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> --- .../boot/dts/r8a7740-armadillo800eva-reference.dts | 9...

View Article

[PATCH] ARM: shmobile: r8a7778/bockw: Move "select RENESAS_INTC_IRQPIN" under...

From: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Move the "select RENESAS_INTC_IRQPIN" from the two bockw-specific sections to the one r8a7778-specific section, like is done for the other...

View Article


[PATCH 00/11] cleanup/fix allow_signal/disallow_signal (no replies)

Hello. allow_signal() and disallow_signal() have the very strange (wrong actually) semantics. They mix/confuse "sigprocmask" and "sigaction" logic. This series tries to cleanup and fix them, plus...

View Article

[PATCH 02/11] signals: s/siginitset/sigemptyset/ in do_sigtimedwait() (no...

Cosmetic, but siginitset(0) looks a bit strange, sigemptyset() is what do_sigtimedwait() needs. Signed-off-by: Oleg Nesterov <oleg@redhat.com> --- kernel/signal.c | 2 +- 1 files changed, 1...

View Article

[PATCH 05/11] signals: cleanup the usage of t/current in do_sigaction() (no...

The usage of "task_struct *t" and "current" in do_sigaction() looks really annoying and chaotic. Initially "t" is used as a cached value of current but not consistently, then it is reused as a loop...

View Article


[PATCH 07/11] signals: jffs2: fix the wrong usage of disallow_signal() (no...

jffs2_garbage_collect_thread() does disallow_signal(SIGHUP) around jffs2_garbage_collect_pass() and the comment says "We don't want SIGHUP to interrupt us". But disallow_signal() can't ensure that...

View Article


[PATCH 11/11] signals: change wait_for_helper() to use kernel_sigaction() (no...

Now that we have kernel_sigaction() we can change wait_for_helper() to use it and cleanups the code a bit. Signed-off-by: Oleg Nesterov <oleg@redhat.com> --- kernel/kmod.c | 5 +---- 1 files...

View Article

[PATCH 01/11] signals: kill sigfindinword() (no replies)

It has no users and it doesn't look useful. I do not know why/when it was introduced, I can't even find any user in the git history. Signed-off-by: Oleg Nesterov <oleg@redhat.com> ---...

View Article

[PATCH 09/11] signals: disallow_signal() should flush the potentially pending...

disallow_signal() simply sets SIG_IGN, this is not enough and recalc_sigpending() is simply pointless because in can never change the state of TIF_SIGPENDING. If we ignore a signal, we also need to do...

View Article

[PATCH 10/11] signals: introduce kernel_sigaction() (no replies)

Now that allow_signal() is really trivial we can unify it with disallow_signal(). Add the new helper, kernel_sigaction(), and reimplement allow_signal/disallow_signal as a trivial wrappers. This saves...

View Article


[PATCH 08/11] signals: kill the obsolete sigdelset() and recalc_sigpending()...

allow_signal() does sigdelset(current->blocked) due to historic reason, previously it could be called by a daemonize()'ed kthread, and daemonize() played with current->blocked. Now that...

View Article

[PATCH 04/11] signals: rename rm_from_queue_full() to flush_sigqueue_mask()...

"rm_from_queue_full" looks ugly and misleading, especially now that rm_from_queue() has gone away. Rename it to flush_sigqueue_mask(), this matches flush_sigqueue() we already have. Also remove the...

View Article


[PATCH 06/11] signals: mv {dis,}allow_signal() from sched.h/exit.c to...

Move the declaration/definition of allow_signal/disallow_signal to signal.h/signal.c. The new place is more logical and allows to use the static helpers in signal.c (see the next changes). While at...

View Article

[PATCH 03/11] signals: kill rm_from_queue(), change prepare_signal() to use...

rm_from_queue() doesn't make sense. The only caller, prepare_signal(), can use rm_from_queue_full() with the same effect. While at it, change prepare_signal() to use for_each_thread() instead of...

View Article


[bisected] NULL pointer dereference in acpi_gpiochip_add (on modprobe ssb) (4...

Hi, With next-20140324, I get the BUG below when I modprobe ssb. I bisected it to aa92b6f689ac "gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()" The device that needs ssb is:...

View Article

LOAN (no replies)

Do you need a loan? Are you searching for a loan? Are you in need of any kind of loan? Do you need urgent loan to consolidate your debt? Do you need car, business or loan to pay bills? email us now...

View Article

[PATCH] linux/thermal.h: Rename KELVIN_TO_CELSIUS to DECI_KELVIN_TO_CELSIUS...

The macros KELVIN_TO_CELSIUS and CELSIUS_TO_KELVIN actually work on decikelvins, so rename them to reflect their actual semantics. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> ---...

View Article
Browsing all 24115 articles
Browse latest View live