linux/mm
Christian Brauner 19bbfe7b5f
fs: add S_ANON_INODE
This makes it easy to detect proper anonymous inodes and to ensure that
we can detect them in codepaths such as readahead().

Readahead on anonymous inodes didn't work because they didn't have a
proper mode. Now that they have we need to retain EINVAL being returned
otherwise LTP will fail.

We also need to ensure that ioctls aren't simply fired like they are for
regular files so things like inotify inodes continue to correctly call
their own ioctl handlers as in [1].

Reported-by: Xilin Wu <sophon@radxa.com>
Link: https://lore.kernel.org/3A9139D5CD543962+89831381-31b9-4392-87ec-a84a5b3507d8@radxa.com [1]
Link: https://lore.kernel.org/7a1a7076-ff6b-4cb0-94e7-7218a0a44028@sirena.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-04-21 13:20:14 +02:00
..
damon mm/damon/core: simplify control flow in damon_register_ops() 2025-04-01 15:17:10 -07:00
kasan mm/kasan: use SLAB_NO_MERGE flag instead of an empty constructor 2025-04-01 15:17:10 -07:00
kfence
kmsan
Kconfig Disable SLUB_TINY for build testing 2025-04-06 10:00:04 -07:00
Kconfig.debug
Makefile
backing-dev.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
balloon_compaction.c
bootmem_info.c
cma.c
cma.h
cma_debug.c
cma_sysfs.c
compaction.c
debug.c
debug_page_alloc.c
debug_page_ref.c
debug_vm_pgtable.c
dmapool.c
dmapool_test.c
early_ioremap.c
execmem.c
fadvise.c
fail_page_alloc.c
failslab.c
filemap.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
folio-compat.c
gup.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
gup_test.c
gup_test.h
highmem.c
hmm.c
huge_memory.c
hugetlb.c mm/hugetlb: move hugetlb_sysctl_init() to the __init section 2025-04-01 15:14:43 -07:00
hugetlb_cgroup.c
hugetlb_cma.c
hugetlb_cma.h
hugetlb_vmemmap.c
hugetlb_vmemmap.h
hwpoison-inject.c
init-mm.c
internal.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
interval_tree.c
io-mapping.c
ioremap.c
khugepaged.c
kmemleak.c
ksm.c
list_lru.c
maccess.c
madvise.c
mapping_dirty_helpers.c
memblock.c memblock: don't release high memory to page allocator when HIGHMEM is off 2025-04-01 15:17:11 -07:00
memcontrol-v1.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
memcontrol-v1.h
memcontrol.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
memfd.c
memory-failure.c
memory-tiers.c
memory.c VFIO updates for v6.15-rc1 2025-04-01 19:35:19 -07:00
memory_hotplug.c mm/memory_hotplug: fix call folio_test_large with tail page in do_migrate_range 2025-04-01 15:17:12 -07:00
mempolicy.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
mempool.c
memremap.c
memtest.c
migrate.c
migrate_device.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
mincore.c
mlock.c
mm_init.c mm/mm_init: init holes in the end of the memory map for FLATMEM 2025-04-01 15:17:11 -07:00
mm_slot.h
mmap.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
mmap_lock.c
mmu_gather.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c mm/mremap: do not set vrm->vma NULL immediately prior to checking it 2025-04-01 15:17:09 -07:00
mseal.c
msync.c
nommu.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
numa.c
numa_emulation.c
numa_memblks.c
oom_kill.c
page-writeback.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
page_alloc.c - The 2 patch series "mm: fixes for fallouts from mem_init() cleanup" 2025-04-03 11:10:00 -07:00
page_counter.c
page_ext.c
page_frag_cache.c
page_idle.c
page_io.c
page_isolation.c mm: page_isolation: avoid calling folio_hstate() without hugetlb_lock 2025-04-01 15:14:43 -07:00
page_owner.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
page_poison.c
page_reporting.c
page_reporting.h
page_table_check.c
page_vma_mapped.c
pagewalk.c
percpu-internal.h
percpu-km.c
percpu-stats.c
percpu-vm.c
percpu.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
pgalloc-track.h
pgtable-generic.c
process_vm_access.c
pt_reclaim.c
ptdump.c
readahead.c fs: add S_ANON_INODE 2025-04-21 13:20:14 +02:00
rmap.c
rodata_test.c
secretmem.c
shmem.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
shmem_quota.c
show_mem.c
shrinker.c
shrinker_debug.c
shuffle.c
shuffle.h
slab.h
slab_common.c A treewide hrtimer timer cleanup 2025-03-25 10:54:15 -07:00
slub.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
sparse-vmemmap.c
sparse.c
swap.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
swap.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
swap_cgroup.c
swap_state.c
swapfile.c
truncate.c
usercopy.c
userfaultfd.c
util.c Summary 2025-03-26 21:02:05 -07:00
vma.c
vma.h
vma_internal.h
vmalloc.c
vmpressure.c
vmscan.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
vmstat.c - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
workingset.c
zpdesc.h
zpool.c
zsmalloc.c
zswap.c mm: zswap: fix crypto_free_acomp() deadlock in zswap_cpu_comp_dead() 2025-04-01 15:14:43 -07:00