[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150616074308.GB24296@dhcp22.suse.cz>
Date: Tue, 16 Jun 2015 09:43:09 +0200
From: Michal Hocko <mhocko@...e.cz>
To: Pali Rohár <pali.rohar@...il.com>
Cc: Darren Hart <dvhart@...radead.org>,
Hans de Goede <hdegoede@...hat.com>,
Ben Skeggs <bskeggs@...hat.com>,
Stuart Hayes <stuart_hayes@...l.com>,
Matthew Garrett <mjg@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
platform-driver-x86@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: Possible broken MM code in dell-laptop.c?
On Tue 16-06-15 09:15:23, Pali Rohár wrote:
[...]
> Michal, thank you for explaining this situation!
>
> Darren, I will prepare patch which will fix code and use __free_page().
>
> (Btw, execution on fail_rfkill label caused kernel panic)
I am sorry, I could have made it more clear in the very first email.
A panic is to be expected because free_page will translate the given
address to a struct page* but this is what the code gave it. So an
unrelated struct page would be freed (or maybe an invalid one).
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists