On December 4, 2024 5:56:34 AM GMT+10:00, Matthew Wilcox <[email protected]> wrote: >On Tue, Dec 03, 2024 at 08:02:26PM +0100, Uladzislau Rezki wrote: > >I think there are a few other things we can try here. > >First, if the copy is small (and I still don't have an answer to that >...), we can skip the vmalloc lookup if the copy doesn't cross a page >boundary. Yeah, this seems a reasonable optimization. >Anyway, NACK to the original patch; that's just a horrible idea. Right, please no debugfs knob. The point is to make sure the check cannot be disabled at runtime and to make the check a no-op. Please use the boot param to disable this check. -Kees -- Kees Cook
- Re: [PATCH -next] mm: usercopy: add a de... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy: add a de... Kefeng Wang
- Re: [PATCH -next] mm: usercopy: add... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Kefeng Wang
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Kefeng Wang
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Matthew Wilcox
- Re: [PATCH -next] mm: usercopy:... zuoze
- Re: [PATCH -next] mm: usercopy:... Kees Cook
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... zuoze
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... Matthew Wilcox
- Re: [PATCH -next] mm: usercopy:... Uladzislau Rezki
- Re: [PATCH -next] mm: usercopy:... zuoze
- Re: [PATCH -next] mm: usercopy: add a debugfs interface t... Uladzislau Rezki
