summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2025-09-18 15:04:53 +0530
committerAndrew Morton <akpm@linux-foundation.org>2025-09-28 11:51:31 -0700
commit4afb85f5e359e521ef20c0260af17a4490fc83f7 (patch)
tree169e0716553ddf90c9d6f0774c9583826819fc7d /scripts/objdiff
parent51032f26cff7a5ab458d549d88b905ca5bf7a7f5 (diff)
downloadkernel-4afb85f5e359e521ef20c0260af17a4490fc83f7.tar.gz
mm: remove PMD alignment constraint in execmem_vmalloc()
When using vmalloc with VM_ALLOW_HUGE_VMAP flag, it will set the alignment to PMD_SIZE internally, if it deems huge mappings to be eligible. Therefore, setting the alignment in execmem_vmalloc is redundant. Apart from this, it also reduces the probability of allocation in case vmalloc fails to allocate hugepages - in the fallback case, vmalloc tries to use the original alignment and allocate basepages, which unfortunately will again be PMD_SIZE passed over from execmem_vmalloc, thus constraining the search for a free space in vmalloc region. Therefore, remove this constraint. Link: https://lkml.kernel.org/r/20250918093453.75676-1-dev.jain@arm.com Signed-off-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
0-10-05smbfs: move to drivers/stagingArnd Bergmann 2010-09-08RDS: Add rds.h to exported headers listAndy Grover 2010-08-14include: replace unifdef-y with header-ySam Ravnborg 2010-08-10Merge branch 'for-2.6.36' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds 2010-08-10Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notifyLinus Torvalds 2010-08-07block: fix missing export of blk_types.hJens Axboe 2010-08-03l2tp: fix export of header file for userspaceJames Chapman 2010-07-28fanotify: fscking all notification systemEric Paris 2010-04-22X25: Add if_x25.h and x25 to device identifiersAndrew Hendry 2010-03-02Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linuxLinus Torvalds 2010-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds 2010-03-01OMAP: DSS2: OMAPFB: install omapfb.hVille Syrjälä 2010-02-23cciss: export linux/cciss_defs.h headerdann frazier 2010-01-15vhost_net: a kernel-level virtio serverMichael S. Tsirkin 2009-12-12net: add net_tstamp.h to headers_installJie Zhang 2009-12-11tty: esp: remove broken driverAlan Cox 2009-12-03Merge branch 'master' into nextJames Morris 2009-10-30define convenient securebits masks for prctl users (v2)Serge E. Hallyn 2009-10-22virtio: let header files include virtio_ids.hChristian Borntraeger 2009-10-06perf_events: Make ABI definitions available to userspaceChuck Ebbert