Re: [PATCH] kern/sys: Compat sysinfo syscall fix undefined behavior

From: Scotty Bauer
Date: Thu Sep 04 2014 - 16:35:31 EST



On 09/04/2014 02:14 PM, Andrew Morton wrote:
> If I'm reading it correctly, this is all dead code because si_meminfo() unconditionally sets sysinfo.mem_unit to PAGE_SIZE. It could all do with a bit of a cleanup, I suspect.
I'll do a little more research on this and do further clean up, if required.

-Scotty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/