Re: BUG: unable to handle kernel paging request in __switch_to
Linus Torvalds writes: (Summary) wrote: [...] you dice it, int3 is a benign exception. That just means that it doesn't double-fault when it takes the page fault. Which we already know, because we see a...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) And that's a requirement regardless, because no way in hell should users be able to read the damn thing. damn thing. So it clearly needs to have the PAGE_USER bit clear...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) On Thu, Dec 14, 2017 at 1:44 PM, Linus Torvalds<torvalds@linux-foundation.org> wrote:[...] that we can't do get_user/put_user on it. Actually, just clearing...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) On Thu, Dec 14, 2017 at 2:02 PM, Peter Zijlstra <peterz@infradead.org> At least the old get_user_pages_fast() code used to check the USER bit: At least the old...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) On Thu, Dec 14, 2017 at 2:11 PM, Andy Lutomirski <luto@amacapital.net> wrote: [...] That seems to rather defeat the point of using a VMA, though. There never was...
View ArticleRe: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: On Thu, Dec 14, 2017 at 2:36 PM, Thomas Gleixner <tglx@linutronix.de> wrote: [...] think it's the firmware which causes it by unmasking the PIC irqs. Yes, that sounds quite...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) wrote: [...] say? I don't think they are secret, it's more of a "if they can read it, they can write it" kind of thing. they can write it" kind of thing. The whole "it...
View ArticleRe: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit ...
Linus Torvalds writes: (Summary) wrote: [...] foreign mm. That sounds wrong. That sounds wrong. We actually had some very serious reasons why get_user_pages_fast() needed to check access_ok(). needed...
View ArticleRe: [PATCH urgent 0/3] __restore_processor_state() fixes
Linus Torvalds writes: On Thu, Dec 14, 2017 at 5:28 PM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote: [...] Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> And I'm assuming I'll get...
View ArticleRe: [GIT PULL] Staging driver fixes for 4.15-rc4
Linus Torvalds writes: (Summary) On Fri, Dec 15, 2017 at 11:00 AM, Greg KH <gregkh@linuxfoundation.org> wrote: [...] patch got reverted due to build errors reported by 0-day. Since the revert was...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) Also, while I think we *should* check the PAGE_USER bit when walking the page tables, like we used to, we should the page tables, like we used to, we should (a) do it...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) We'd have to do something like put the !PAGE_USER mapping at the top of the user address space, and then simply make user_addr_max() smaller than the actual user page...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) wrote: [...] So do you want to do a straight revert of these that went in for 4.15: I think that's the right thing to do, but would want to verify that there are no...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) But part of it is also that we should fall back to the slow case if the fast case doesn't work (eg because the page isn't there or whatever). whatever). So what we...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) On Fri, Dec 15, 2017 at 6:48 PM, Al Viro <viro@zeniv.linux.org.uk> wrote: [...] deal with the checks" should be fine Well, it's *semantically* fine and I think...
View ArticleRe: [PATCH v2 01/17] mm/gup: Fixup p*_access_permitted()
Linus Torvalds writes: (Summary) wrote:[...] practice. Anyway, I reverted the three commits Dan pointed to, and we can always revisit the exact path forward later revisit the exact path forward later...
View ArticleRe: [RFC GIT PULL] x86 Page Table Isolation (PTI) syscall entry co ...
Linus Torvalds writes: (Summary) But look at that merge (on the "other side"), and notice how the end result is *not* identical to the parent. the end result is *not* identical to the parent. IOW, that...
View ArticleRe: [linus:master] BUILD REGRESSION f3b5ad89de16f5d42e8ad36fbdf85f ...
Linus Torvalds writes: (Summary) Nico, Nico, On Sat, Dec 16, 2017 at 7:00 PM, kbuild test robot<fengguang.wu@intel.com> wrote:[...] fs/cramfs/inode.c:959: undefined reference to `mount_mtd' This...
View ArticleRe: [GIT PULL REQUEST] watchdog - v4.15 Fixes
Linus Torvalds writes: (Summary) We've found that lots of messages from iguana.be are spam. iguana.be are spam. I have no idea why that site is so hated, but one option that your upstream ISP is some...
View ArticleRe: [linus:master] BUILD REGRESSION f3b5ad89de16f5d42e8ad36fbdf85f ...
Linus Torvalds writes: On Sun, Dec 17, 2017 at 7:25 AM, Al Viro <viro@zeniv.linux.org.uk> wrote: [...] pull request? I just took it directly, since you had in the meantime already generated the...
View Article