Messages in this thread | | | Date | Tue, 16 Jun 2015 09:43:09 +0200 | From | Michal Hocko <> | 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
| |