/proc/kmem fixes and hwpoison bits v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Changes since v2 from the cover letter
- remove the prototype change and make the bug fix simple
- add hwpoison checks for /dev/mem (this is in fact an old patch for me)
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | devmem: fix kmem write bug on memory holesdrivers/ | +1 | 0 replies | |
| 2/4 | devmem: check vmalloc address on kmem read/writedrivers/ | +16 | 0 replies | |
| 3/4 | HWPOISON: prevent /dev/kmem users from accessing hwpoison pagesdrivers/ | +14 | 0 replies | |
| 4/4 | HWPOISON: stop /dev/mem users from accessing hwpoison pagesdrivers/ | +20 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | KAMEZAWA Hiroyuki | Andi Kleen |
|---|---|---|
| 1/4 | ||
| 2/4 | ||
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] /proc/kmem fixes and hwpoison bits v3
Hi,
Here are 2 bug fixes and also hwpoison checks for /dev/mem and /dev/kmem. The bug fixes are intended for this merge window.
Changes since v2:
- remove the prototype change and make the bug fix simple
- add hwpoison checks for /dev/mem (this is in fact an old patch for me)
Changes since v1:
- change vread()/vwrite() prototype (proposed by Kame)
- include Kame's is_vmalloc_or_module_addr() check and use Hugh's -ENXIO.
- I decided not to use __GFP_ZERO, since the buf will be reused in the loop, so it would be better for vread to zero-fill it each time.
- removed the hwpoison checks for vmalloc pages. It seems that vread/vwrite could be simplified to handle one single page, and the hwpoison bits can be considered after that.
Thanks,
Fengguang
--