Messages in this thread | | | Date | Thu, 30 Oct 2014 12:02:52 -0400 | From | Sasha Levin <> | Subject | Re: [PATCH] mm: initialize variable for mem_cgroup_end_page_stat |
| |
On 10/30/2014 11:06 AM, Johannes Weiner wrote: >> You're using that value as soon as you are passing it to a function, it >> > doesn't matter what happens inside that function. > It's copied as part of the pass-by-value protocol, but we really don't > do anything with it. So why does it matter?
Because it's undefined behaviour, which gives your compiler a license to do whatever it wants?
Thanks, Sasha
| |