Re: [PATCH 00/11] Use global pages with PTI
Linus Torvalds writes: (Summary) Even with PCID, a global TLB entry for the shared pages would make sense, because it's now just *one* entry in the TLB rather that "one per PCID and one for the kernel...
View ArticleRe: [PATCH 00/11] Use global pages with PTI
Linus Torvalds writes: (Summary) wrote:[...] whole "don't even do global entries if you have PCID". You always do global for the actual user-mapped kernel pages, but when you don't have PCID you do...
View ArticleLinux 4.16-rc7
Linus Torvalds writes: (Summary) Lu (2): x86/build/64: Force the linker to use 2MB page size x86/boot/64: Verify alignment of the LOAD segment Haim Dreyfuss (1): iwlwifi: Cancel and set MARKER_CMD...
View ArticleRe: [RFC] new SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE wrappers
Linus Torvalds writes: (Summary) More realistically, I was thinking we'd just use a separate table or system calls, and generate different versions. system calls, and generate different versions. In...
View ArticleRe: [RFC] new SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE wrappers
Linus Torvalds writes: (Summary) wrote:[...] work. Note: the commit message is "broken, but working, ptregs system call conversion for x86-64". conversion for x86-64". The "but working" is not because...
View ArticleRe: [PATCH v6] kernel.h: Retain constant expression output for max ...
Linus Torvalds writes: (Summary) On Mon, Mar 26, 2018 at 12:15 PM, Kees Cook <keescook@chromium.org> Ack. Ack. I'm of two minds whether that "__is_constant()" macro should be explained or not....
View ArticleRe: [RFC] new SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE wrappers
Linus Torvalds writes: (Summary) On Sun, Mar 25, 2018 at 8:44 PM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:<[...] on x32 (12900 being the number for x86_64). Hmm. Do you...
View ArticleRe: [RFC] new SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE wrappers
Linus Torvalds writes: On Mon, Mar 26, 2018 at 4:37 PM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:[...] install interesting packages you would like to test yourself. That...
View ArticleRe: [PATCH] task_struct: Only use anon struct under randstruct plugin
Linus Torvalds writes: (Summary) I assume what happens is that the anonymous struct ends up containing fields that are cacheline-aligned, and then the whole anonymous struct is cacheline-aligned. is...
View ArticleRe: [GIT PULL] sound fixes for 4.16-final
Linus Torvalds writes: On Thu, Mar 29, 2018 at 4:23 AM, Takashi Iwai <tiwai@suse.de> wrote: [...] git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.16 No such tag. Forgot...
View ArticleRe: [GIT PULL] misc core kernel changes
Linus Torvalds writes: On Sun, Apr 1, 2018 at 11:14 PM, Ingo Molnar <mingo@kernel.org> wrote: [...] - add membarriers to Documentation/features/ You had actually done this earlier already, so now...
View ArticleRe: [PATCH 01/11] x86/mm: factor out pageattr _PAGE_GLOBAL setting
Linus Torvalds writes: (Summary) On Mon, Apr 2, 2018 at 10:27 AM, Dave Hansen<dave.hansen@linux.intel.com> wrote:[...] even go to the trouble of filtering it anywhere? I'm assuming this is a...
View ArticleRe: [PATCH 09/11] x86/pti: enable global pages for shared areas
Linus Torvalds writes: On Mon, Apr 2, 2018 at 10:27 AM, Dave Hansen<dave.hansen@linux.intel.com> wrote:[...] + pte = pte_set_flags(pte, _PAGE_GLOBAL); So this is where the quesion of "why is this...
View ArticleRe: [GIT PULL] arch: remove obsolete architecture ports
Linus Torvalds writes: (Summary) wrote: [...] (dirstat only for brevity) Shortlog? Shortlog? I'd like to see that each architecture removal is independent of the others, so that if somebody wants to...
View ArticleRe: [GIT PULL] x86/build changes for v4.17
Linus Torvalds writes: (Summary) So my biggest worry isn't gcc-4.5 (anybody who hasn't updated deserves to be forced, or can stay with old kernels). to be forced, or can stay with old kernels). No, my...
View ArticleRe: [PATCH] bitmap: fix memset optimization on big-endian systems
Linus Torvalds writes: (Summary) This is wrong on big-endian systems; Ugh, yes. Ugh, yes. In retrospect, I do wish I had just made the bitmap types be byte-based, but we had strong reasons for those...
View ArticleRe: [PATCH] bitmap: fix memset optimization on big-endian systems
Linus Torvalds writes: (Summary) Part of it is due to another historical accident: the alpha port was one of the early ports, and it didn't do atomic byte accesses at all. atomic byte accesses at all....
View ArticleRe: [GIT PULL] EFI updates for v4.17
Linus Torvalds writes: (Summary) I'm surprised you don't see them. I'm surprised you don't see them. Looks like this: Looks like this: WARNING: CPU: 0 PID: 0 at arch/x86/include/asm/tlbflush.h:134...
View ArticleRe: [GIT PULL] arch: remove obsolete architecture ports
Linus Torvalds writes: (Summary) On Mon, Apr 2, 2018 at 12:17 AM, Arnd Bergmann <arnd@arndb.de> wrote: [...] early in the merge window or really late. Ok, I've been pulling arch updates, so it...
View ArticleRe: [GIT PULL] remove in-kernel calls to syscalls
Linus Torvalds writes: (Summary) On Mon, Apr 2, 2018 at 12:04 PM, Dominik Brodowski<linux@dominikbrodowski.net> wrote:[...] kernel with the exception of arch/. Ok, this finished off my arch...
View Article