linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Restoration of the pgprot_t prot parameter in __vmalloc()
@ 2021-07-16 14:07 Archie
  0 siblings, 0 replies; only message in thread
From: Archie @ 2021-07-16 14:07 UTC (permalink / raw)
  To: linux-kernel

Hello everyone,

I made a regex kernel module (https://github.com/smcho-kr/kpcre)
several years ago and it needs executable pages for its JIT
compilation.
I recently discovered that from the 5.8 kernel, the __vmalloc()
function's third parameter - pgprot_t prot - has been removed.
The regex module doesn't work inside the newer kernels because I can't
set "PAGE_KERNEL_EXEC" in __vmalloc().
Would it be possible to revert __vmalloc() back to the old version?

Thank you.

Archie

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-16 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 14:07 Restoration of the pgprot_t prot parameter in __vmalloc() Archie

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).