summaryrefslogtreecommitdiff
path: root/tools/gpio/lsgpio.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-01 18:13:23 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-02 23:03:05 -0500
commitb9ea2a7be758f2c07a0c044645edc409a8a388fd (patch)
treedf87e4aeef3b72752d470fe67a5127e26b1b4838 /tools/gpio/lsgpio.c
parentbdcfa156039dcfe2be989b73c4ae1be3d5d0f804 (diff)
net: remove useless pfmemalloc setting
When __alloc_skb() allocates an skb from fast clone cache, setting pfmemalloc on the clone is not needed. Clone will be properly initialized later at skb_clone() time, including pfmemalloc field, as it is included in the headers_start/headers_end section which is fully copied. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/gpio/lsgpio.c')
0 files changed, 0 insertions, 0 deletions
d which triggers the BUG. Using add_timer_on() is pretty pointless in this code because the timer is strictlty per CPU, initialized as pinned and all operations which arm the timer happen on the CPU to which the timer belongs. Simplify the whole machinery by using mod_timer() instead of add_timer_on() which avoids the problem because mod_timer() can handle already queued timers. Use __start_timer() everywhere so the earliest armed expiry time is preserved. Reported-by: Erik Veijola <erik.veijola@intel.com> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/soc/codecs/lm4857.c')