Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] x86/mm: Unbreak modules that rely on external PAGE_KER ...

$
0
0
Linus Torvalds writes: (Summary) Of course, that at least doesn't trigger for the simple cases - only _PAGE_CACHE_WP and _PAGE_NOCACHE end up triggering that "cachemode2protval()" case.
"cachemode2protval()" case.
I do wonder if we could perhaps at least try to unify these things a bit, and export just one thing.
bit, and export just one thing.
And maybe avoid accessing two completely different memory locasions every time we use _PAGE_KERNEL or whatever.
every time we use _PAGE_KERNEL or whatever.
But it all looks rather nasty, so for 4.14 clearly I should just apply that trivial one-liner patch for now.
that trivial one-liner patch for now.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles