linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux@roeck-us.net
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	John Stultz <john.stultz@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Willy Tarreau <w@1wt.eu>
Subject: [PATCH 3.10 187/268] give up on gcc ilog2() constant optimizations
Date: Mon, 19 Jun 2017 20:31:26 +0200	[thread overview]
Message-ID: <1497897167-14556-188-git-send-email-w@1wt.eu> (raw)
In-Reply-To: <1497897167-14556-1-git-send-email-w@1wt.eu>

From: Linus Torvalds <torvalds@linux-foundation.org>

commit 474c90156c8dcc2fa815e6716cc9394d7930cb9c upstream.

gcc-7 has an "optimization" pass that completely screws up, and
generates the code expansion for the (impossible) case of calling
ilog2() with a zero constant, even when the code gcc compiles does not
actually have a zero constant.

And we try to generate a compile-time error for anybody doing ilog2() on
a constant where that doesn't make sense (be it zero or negative).  So
now gcc7 will fail the build due to our sanity checking, because it
created that constant-zero case that didn't actually exist in the source
code.

There's a whole long discussion on the kernel mailing about how to work
around this gcc bug.  The gcc people themselevs have discussed their
"feature" in

   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785

but it's all water under the bridge, because while it looked at one
point like it would be solved by the time gcc7 was released, that was
not to be.

So now we have to deal with this compiler braindamage.

And the only simple approach seems to be to just delete the code that
tries to warn about bad uses of ilog2().

So now "ilog2()" will just return 0 not just for the value 1, but for
any non-positive value too.

It's not like I can recall anybody having ever actually tried to use
this function on any invalid value, but maybe the sanity check just
meant that such code never made it out in public.

[js] no tools/include/linux/log2.h copy of that yet

Reported-by: Laura Abbott <labbott@redhat.com>
Cc: John Stultz <john.stultz@linaro.org>,
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
---
 include/linux/log2.h | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/include/linux/log2.h b/include/linux/log2.h
index fd7ff3d..f38fae2 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -16,12 +16,6 @@
 #include <linux/bitops.h>
 
 /*
- * deal with unrepresentable constant logarithms
- */
-extern __attribute__((const, noreturn))
-int ____ilog2_NaN(void);
-
-/*
  * non-constant log of base 2 calculators
  * - the arch may override these in asm/bitops.h if they can be implemented
  *   more efficiently than using fls() and fls64()
@@ -85,7 +79,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
 #define ilog2(n)				\
 (						\
 	__builtin_constant_p(n) ? (		\
-		(n) < 1 ? ____ilog2_NaN() :	\
+		(n) < 2 ? 0 :			\
 		(n) & (1ULL << 63) ? 63 :	\
 		(n) & (1ULL << 62) ? 62 :	\
 		(n) & (1ULL << 61) ? 61 :	\
@@ -148,10 +142,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
 		(n) & (1ULL <<  4) ?  4 :	\
 		(n) & (1ULL <<  3) ?  3 :	\
 		(n) & (1ULL <<  2) ?  2 :	\
-		(n) & (1ULL <<  1) ?  1 :	\
-		(n) & (1ULL <<  0) ?  0 :	\
-		____ilog2_NaN()			\
-				   ) :		\
+		1 ) :				\
 	(sizeof(n) <= 4) ?			\
 	__ilog2_u32(n) :			\
 	__ilog2_u64(n)				\
-- 
2.8.0.rc2.1.gbe9624a

  parent reply	other threads:[~2017-06-19 18:36 UTC|newest]

Thread overview: 287+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-19 18:28 [PATCH 3.10 000/268] 3.10.107-stable review Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 001/268] Revert "Btrfs: don't delay inode ref updates during log, replay" Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 002/268] Btrfs: fix memory leak in reading btree blocks Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 003/268] ext4: use more strict checks for inodes_per_block on mount Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 004/268] ext4: fix in-superblock mount options processing Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 005/268] ext4: add sanity checking to count_overhead() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 006/268] ext4: validate s_first_meta_bg at mount time Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 007/268] jbd2: don't leak modified metadata buffers on an aborted journal Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 008/268] ext4: fix fencepost in s_first_meta_bg validation Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 009/268] ext4: trim allocation requests to group size Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 010/268] ext4: preserve the needs_recovery flag when the journal is aborted Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 011/268] ext4: return EROFS if device is r/o and journal replay is needed Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 012/268] ext4: fix inode checksum calculation problem if i_extra_size is small Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 013/268] block: fix use-after-free in sys_ioprio_get() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 014/268] block: allow WRITE_SAME commands with the SG_IO ioctl Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 015/268] block: fix del_gendisk() vs blkdev_ioctl crash Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 016/268] dm crypt: mark key as invalid until properly loaded Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 017/268] dm space map metadata: fix 'struct sm_metadata' leak on failed create Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 018/268] md/raid5: limit request size according to implementation limits Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 019/268] md:raid1: fix a dead loop when read from a WriteMostly disk Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 020/268] md linear: fix a race between linear_add() and linear_congested() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 021/268] CIFS: Fix a possible memory corruption during reconnect Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 022/268] CIFS: Fix missing nls unload in smb2_reconnect() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 023/268] CIFS: Fix a possible memory corruption in push locks Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 024/268] CIFS: remove bad_network_name flag Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 025/268] fs/cifs: make share unaccessible at root level mountable Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 026/268] cifs: Do not send echoes before Negotiate is complete Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 027/268] ocfs2: fix crash caused by stale lvb with fsdlm plugin Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 028/268] ocfs2: fix BUG_ON() in ocfs2_ci_checkpointed() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 029/268] can: raw: raw_setsockopt: limit number of can_filter that can be set Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 030/268] can: peak: fix bad memory access and free sequence Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 031/268] can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 032/268] can: ti_hecc: add missing prepare and unprepare of the clock Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 033/268] can: bcm: fix hrtimer/tasklet termination in bcm op removal Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 034/268] can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 035/268] ALSA: hda - Fix up GPIO for ASUS ROG Ranger Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 036/268] ALSA: seq: Fix race at creating a queue Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 037/268] ALSA: seq: Don't handle loop timeout at snd_seq_pool_done() Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 038/268] ALSA: timer: Reject user params with too small ticks Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 039/268] ALSA: seq: Fix link corruption by event error handling Willy Tarreau
2017-06-19 18:28 ` [PATCH 3.10 040/268] ALSA: seq: Fix racy cell insertions during snd_seq_pool_done() Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 041/268] ALSA: seq: Fix race during FIFO resize Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 042/268] ALSA: seq: Don't break snd_use_lock_sync() loop by timeout Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 043/268] ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 044/268] usb: gadgetfs: restrict upper bound on device configuration size Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 045/268] USB: gadgetfs: fix unbounded memory allocation bug Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 046/268] USB: gadgetfs: fix use-after-free bug Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 047/268] USB: gadgetfs: fix checks of wTotalLength in config descriptors Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 048/268] xhci: free xhci virtual devices with leaf nodes first Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 049/268] USB: serial: io_ti: bind to interface after fw download Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 050/268] usb: gadget: composite: always set ep->mult to a sensible value Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 051/268] USB: cdc-acm: fix double usb_autopm_put_interface() in acm_port_activate() Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 052/268] USB: cdc-acm: fix open and suspend race Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 053/268] USB: cdc-acm: fix failed open not being detected Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 054/268] usb: dwc3: gadget: make Set Endpoint Configuration macros safe Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 055/268] usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 056/268] usb: dwc3: gadget: delay unmap of bounced requests Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 057/268] usb: hub: Wait for connection to be reestablished after port reset Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 058/268] usb: gadget: composite: correctly initialize ep->maxpacket Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 059/268] USB: UHCI: report non-PME wakeup signalling for Intel hardware Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 060/268] xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing Willy Tarreau
2017-06-20  2:57   ` Hugh Dickins
2017-06-20  5:34     ` Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 061/268] arm/xen: Use alloc_percpu rather than __alloc_percpu Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 062/268] xfs: set AGI buffer type in xlog_recover_clear_agi_bucket Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 063/268] xfs: clear _XBF_PAGES from buffers when readahead page Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 064/268] ssb: Fix error routine when fallback SPROM fails Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 065/268] drivers/gpu/drm/ast: Fix infinite loop if read fails Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 066/268] scsi: avoid a permanent stop of the scsi device's request queue Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 067/268] scsi: move the nr_phys_segments assert into scsi_init_io Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 068/268] scsi: don't BUG_ON() empty DMA transfers Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 069/268] scsi: storvsc: properly handle SRB_ERROR when sense message is present Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 070/268] scsi: storvsc: properly set residual data length on errors Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 071/268] target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 072/268] scsi: lpfc: Add shutdown method for kexec Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 073/268] scsi: sr: Sanity check returned mode data Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 074/268] scsi: sd: Fix capacity calculation with 32-bit sector_t Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 075/268] s390/vmlogrdr: fix IUCV buffer allocation Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 076/268] libceph: verify authorize reply on connect Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 077/268] nfs_write_end(): fix handling of short copies Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 078/268] powerpc/ps3: Fix system hang with GCC 5 builds Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 079/268] sg_write()/bsg_write() is not fit to be called under KERNEL_DS Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 080/268] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 081/268] cred/userns: define current_user_ns() as a function Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 082/268] net: ti: cpmac: Fix compiler warning due to type confusion Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 083/268] tick/broadcast: Prevent NULL pointer dereference Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 084/268] netvsc: reduce maximum GSO size Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 085/268] drop_monitor: add missing call to genlmsg_end Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 086/268] drop_monitor: consider inserted data in genlmsg_end Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 087/268] igmp: Make igmp group member RFC 3376 compliant Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 088/268] HID: hid-cypress: validate length of report Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 089/268] Input: xpad - use correct product id for x360w controllers Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 090/268] Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000 Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 091/268] Input: iforce - validate number of endpoints before using them Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 092/268] Input: kbtab " Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 093/268] Input: joydev - do not report stale values on first open Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 094/268] Input: tca8418 - use the interrupt trigger from the device tree Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 095/268] Input: mpr121 - handle multiple bits change of status register Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 096/268] Input: mpr121 - set missing event capability Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 097/268] Input: i8042 - add Clevo P650RS to the i8042 reset list Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 098/268] i2c: fix kernel memory disclosure in dev interface Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 099/268] vme: Fix wrong pointer utilization in ca91cx42_slave_get Willy Tarreau
2017-06-19 18:29 ` [PATCH 3.10 100/268] sysrq: attach sysrq handler correctly for 32-bit kernel Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 101/268] pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 102/268] x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 103/268] qla2xxx: Fix crash due to null pointer access Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 104/268] ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 105/268] ARM: dts: da850-evm: fix read access to SPI flash Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 106/268] NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 107/268] vmxnet3: Wake queue from reset work Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 108/268] Fix memory leaks in cifs_do_mount() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 109/268] Compare prepaths when comparing superblocks Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 110/268] Move check for prefix path to within cifs_get_root() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 111/268] Fix regression which breaks DFS mounting Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 112/268] apparmor: fix uninitialized lsm_audit member Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 113/268] apparmor: exec should not be returning ENOENT when it denies Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 114/268] apparmor: fix disconnected bind mnts reconnection Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 115/268] apparmor: internal paths should be treated as disconnected Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 116/268] apparmor: check that xindex is in trans_table bounds Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 117/268] apparmor: add missing id bounds check on dfa verification Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 118/268] apparmor: don't check for vmalloc_addr if kvzalloc() failed Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 119/268] apparmor: fix oops in profile_unpack() when policy_db is not present Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 120/268] apparmor: fix module parameters can be changed after policy is locked Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 121/268] apparmor: do not expose kernel stack Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 122/268] vfio/pci: Fix integer overflows, bitmask check Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 123/268] bna: Add synchronization for tx ring Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 124/268] sg: Fix double-free when drives detach during SG_IO Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 125/268] move the call of __d_drop(anon) into __d_materialise_unique(dentry, anon) Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 126/268] serial: 8250_pci: Detach low-level driver during PCI error recovery Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 127/268] bnx2x: Correct ringparam estimate when DOWN Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 128/268] tile/ptrace: Preserve previous registers for short regset write Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 129/268] sysctl: fix proc_doulongvec_ms_jiffies_minmax() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 130/268] ISDN: eicon: silence misleading array-bounds warning Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 131/268] ARC: [arcompact] handle unaligned access delay slot corner case Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 132/268] parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 133/268] nfs: Don't increment lock sequence ID after NFS4ERR_MOVED Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 134/268] ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 135/268] af_unix: move unix_mknod() out of bindlock Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 136/268] drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 137/268] crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 138/268] ata: sata_mv:- Handle return value of devm_ioremap Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 139/268] mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 140/268] mm, fs: check for fatal signals in do_generic_file_read() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 141/268] ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 142/268] sched/debug: Don't dump sched debug info in SysRq-W Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 143/268] tcp: fix 0 divide in __tcp_select_window() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 144/268] macvtap: read vnet_hdr_size once Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 145/268] packet: round up linear to header len Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 146/268] vfs: fix uninitialized flags in splice_to_pipe() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 147/268] siano: make it work again with CONFIG_VMAP_STACK Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 148/268] futex: Move futex_init() to core_initcall Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 149/268] rtc: interface: ignore expired timers when enqueuing new timers Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 150/268] irda: Fix lockdep annotations in hashbin_delete() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 151/268] tty: serial: msm: Fix module autoload Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 152/268] rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 153/268] af_packet: remove a stray tab in packet_set_ring() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 154/268] MIPS: Fix special case in 64 bit IP checksumming Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 155/268] mm: vmpressure: fix sending wrong events on underflow Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 156/268] ipc/shm: Fix shmat mmap nil-page protection Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 157/268] sd: get disk reference in sd_check_events() Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 158/268] samples/seccomp: fix 64-bit comparison macros Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 159/268] ath5k: drop bogus warning on drv_set_key with unsupported cipher Willy Tarreau
2017-06-19 18:30 ` [PATCH 3.10 160/268] rdma_cm: fail iwarp accepts w/o connection params Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 161/268] NFSv4: fix getacl ERANGE for some ACL buffer sizes Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 162/268] bcma: use (get|put)_device when probing/removing device driver Willy Tarreau
2017-06-20  5:12   ` Kalle Valo
2017-06-20  6:14     ` Willy Tarreau
2017-06-20  7:31       ` Rafał Miłecki
2017-06-20  7:58         ` Willy Tarreau
2017-06-20  8:14           ` Rafał Miłecki
2017-06-20  8:18             ` Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 163/268] powerpc/xmon: Fix data-breakpoint Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 164/268] KVM: VMX: use correct vmcs_read/write for guest segment selector/base Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 165/268] KVM: PPC: Book3S PR: Fix illegal opcode emulation Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 166/268] s390: TASK_SIZE for kernel threads Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 167/268] xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 168/268] mac80211: flush delayed work when entering suspend Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 169/268] drm/ast: Fix test for VGA enabled Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 170/268] drm/ttm: Make sure BOs being swapped out are cacheable Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 171/268] fat: fix using uninitialized fields of fat_inode/fsinfo_inode Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 172/268] drivers: hv: Turn off write permission on the hypercall page Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 173/268] xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 174/268] crypto: improve gcc optimization flags for serpent and wp512 Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 175/268] mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 176/268] cpmac: remove hopeless #warning Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 177/268] mvsas: fix misleading indentation Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 178/268] l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 179/268] net: don't call strlen() on the user buffer in packet_bind_spkt() Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 180/268] dccp: Unlock sock before calling sk_free() Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 181/268] tcp: fix various issues for sockets morphing to listen state Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 182/268] uapi: fix linux/packet_diag.h userspace compilation error Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 183/268] ipv6: avoid write to a possibly cloned skb Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 184/268] dccp: fix memory leak during tear-down of unsuccessful connection request Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 185/268] futex: Fix potential use-after-free in FUTEX_REQUEUE_PI Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 186/268] futex: Add missing error handling to FUTEX_REQUEUE_PI Willy Tarreau
2017-06-19 18:31 ` Willy Tarreau [this message]
2017-06-19 18:31 ` [PATCH 3.10 188/268] cancel the setfilesize transation when io error happen Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 189/268] crypto: ghash-clmulni - Fix load failure Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 190/268] crypto: cryptd - Assign statesize properly Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 191/268] ACPI / video: skip evaluating _DOD when it does not exist Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 192/268] Drivers: hv: balloon: don't crash when memory is added in non-sorted order Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 193/268] s390/pci: fix use after free in dma_init Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 194/268] cpufreq: Fix and clean up show_cpuinfo_cur_freq() Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 195/268] igb: Workaround for igb i210 firmware issue Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 196/268] igb: add i211 to i210 PHY workaround Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 197/268] ipv4: provide stronger user input validation in nl_fib_input() Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 198/268] tcp: initialize icsk_ack.lrcvtime at session start time Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 199/268] ACM gadget: fix endianness in notifications Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 200/268] mmc: sdhci: Do not disable interrupts while waiting for clock Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 201/268] uvcvideo: uvc_scan_fallback() for webcams with broken chain Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 202/268] fbcon: Fix vc attr at deinit Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 203/268] crypto: algif_hash - avoid zero-sized array Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 204/268] virtio_balloon: init 1st buffer in stats vq Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 205/268] c6x/ptrace: Remove useless PTRACE_SETREGSET implementation Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 206/268] sparc/ptrace: Preserve previous registers for short regset write Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 207/268] metag/ptrace: " Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 208/268] metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 209/268] metag/ptrace: Reject partial NT_METAG_RPIPE writes Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 210/268] libceph: force GFP_NOIO for socket allocations Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 211/268] ACPI: Fix incompatibility with mcount-based function graph tracing Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 212/268] ACPI / power: Avoid maybe-uninitialized warning Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 213/268] rtc: s35390a: make sure all members in the output are set Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 214/268] rtc: s35390a: implement reset routine as suggested by the reference Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 215/268] rtc: s35390a: improve irq handling Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 216/268] padata: avoid race in reordering Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 217/268] HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 218/268] HID: i2c-hid: Add sleep between POWER ON and RESET Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 219/268] tty/serial: atmel: fix race condition (TX+DMA) Willy Tarreau
2017-06-20  7:04   ` Richard Genoud
2017-06-20  7:24     ` Willy Tarreau
2017-06-19 18:31 ` [PATCH 3.10 220/268] drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 221/268] drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 222/268] drm/vmwgfx: Remove getparam error message Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 223/268] drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 224/268] Reset TreeId to zero on SMB2 TREE_CONNECT Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 225/268] metag/usercopy: Drop unused macros Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 226/268] metag/usercopy: Zero rest of buffer from copy_from_user Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 227/268] powerpc: Don't try to fix up misaligned load-with-reservation instructions Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 228/268] mm/mempolicy.c: fix error handling in set_mempolicy and mbind Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 229/268] mtd: bcm47xxpart: fix parsing first block after aligned TRX Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 230/268] net/packet: fix overflow in check for priv area size Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 231/268] x86/vdso: Plug race between mapping and ELF header setup Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 232/268] iscsi-target: Fix TMR reference leak during session shutdown Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 233/268] iscsi-target: Drop work-around for legacy GlobalSAN initiator Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 234/268] xen, fbfront: fix connecting to backend Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 235/268] char: lack of bool string made CONFIG_DEVPORT always on Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 236/268] platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 237/268] platform/x86: acer-wmi: setup accelerometer when ACPI device was found Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 238/268] mm: Tighten x86 /dev/mem with zeroing reads Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 239/268] virtio-console: avoid DMA from stack Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 240/268] catc: Combine failure cleanup code in catc_probe() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 241/268] catc: Use heap buffer for memory size test Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 242/268] net: ipv6: check route protocol when deleting routes Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 243/268] Drivers: hv: don't leak memory in vmbus_establish_gpadl() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 244/268] Drivers: hv: get rid of timeout in vmbus_open() Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 245/268] ubi/upd: Always flush after prepared for an update Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 246/268] x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 247/268] powerpc: Reject binutils 2.24 when building little endian Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 248/268] net/packet: fix overflow in check for tp_frame_nr Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 249/268] net/packet: fix overflow in check for tp_reserve Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 250/268] tty: nozomi: avoid a harmless gcc warning Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 251/268] hostap: avoid uninitialized variable use in hfa384x_get_rid Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 252/268] gfs2: avoid uninitialized variable warning Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 253/268] net: neigh: guard against NULL solicit() method Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 254/268] sctp: listen on the sock only when it's state is listening or closed Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 255/268] ip6mr: fix notification device destruction Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 256/268] MIPS: Fix crash registers on non-crashing CPUs Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 257/268] RDS: Fix the atomicity for congestion map update Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 258/268] xen/x86: don't lose event interrupts Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 259/268] p9_client_readdir() fix Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 260/268] nfsd: check for oversized NFSv2/v3 arguments Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 261/268] ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 262/268] kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF) Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 263/268] tun: read vnet_hdr_sz once Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 264/268] printk: use rcuidle console tracepoint Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 265/268] ipv6: check raw payload size correctly in ioctl Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 266/268] x86: standardize mmap_rnd() usage Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 267/268] x86/mm/32: Enable full randomization on i386 and X86_32 Willy Tarreau
2017-06-19 18:32 ` [PATCH 3.10 268/268] mm: larger stack guard gap, between vmas Willy Tarreau
2017-06-21  7:05   ` Hugh Dickins
2017-06-21  7:18     ` Willy Tarreau
2017-06-21 16:01       ` Willy Tarreau
2017-06-19 22:46 ` [PATCH 3.10 000/268] 3.10.107-stable review Guenter Roeck
2017-06-19 22:51   ` Willy Tarreau
2017-06-20  6:17     ` Willy Tarreau
2017-06-20  9:10       ` Guenter Roeck
2017-06-20  9:26         ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497897167-14556-188-git-send-email-w@1wt.eu \
    --to=w@1wt.eu \
    --cc=ard.biesheuvel@linaro.org \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).