Skip to content

devmem/kmem/kcore fixes, cleanups and hwpoison checks

Wu Fengguang linux-mips linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8vfs: fix too big f_pos handlingdrivers/char/mem.c fs/proc/base.c fs/read_write.c +1 more+28 -20 replies
2/8devmem: check vmalloc address on kmem read/writedrivers/char/mem.c+18 -100 replies
3/8devmem: fix kmem write bug on memory holesdrivers/char/mem.c+1 -10 replies
4/8resources: introduce generic page_is_ram()arch/mips/mm/init.c arch/score/mm/init.c include/linux/ioport.h +1 more+14 -22 replies
5/8vmalloc: simplify vread()/vwrite()drivers/char/mem.c fs/proc/kcore.c include/linux/vmalloc.h +1 more+58 -1888 replies
6/8hwpoison: prevent /dev/kmem from accessing hwpoison pagesdrivers/char/mem.c mm/vmalloc.c+28 -60 replies
7/8hwpoison: prevent /dev/mem from accessing hwpoison pagesdrivers/char/mem.c+21 -180 replies
8/8hwpoison: prevent /dev/kcore from accessing hwpoison pagesarch/x86/mm/init_64.c+13 -31 reply

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchAndi KleenWu FengguangWANG Cong
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] devmem/kmem/kcore fixes, cleanups and hwpoison checks

Andrew,

Here are some patches on mem/kmem/kcore.
Most of them have been individually reviewed in LKML.

bug fixes
[PATCH 1/8] vfs: fix too big f_pos handling [PATCH 2/8] devmem: check vmalloc address on kmem read/write [PATCH 3/8] devmem: fix kmem write bug on memory holes

simplify vread/vwrite
[PATCH 4/8] resources: introduce generic page_is_ram() [PATCH 5/8] vmalloc: simplify vread()/vwrite()

check for corrupted page
[PATCH 6/8] hwpoison: prevent /dev/kmem from accessing hwpoison pages [PATCH 7/8] hwpoison: prevent /dev/mem from accessing hwpoison pages [PATCH 8/8] hwpoison: prevent /dev/kcore from accessing hwpoison pages

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>