All of lore.kernel.org
 help / color / mirror / Atom feed
* [request for stable inclusion] mm/memory-failure.c: fix memory leak in successful soft offlining
@ 2014-02-13  1:41 Xishi Qiu
  2014-02-13 20:32 ` Naoya Horiguchi
  0 siblings, 1 reply; 2+ messages in thread
From: Xishi Qiu @ 2014-02-13  1:41 UTC (permalink / raw)
  To: Naoya Horiguchi, Greg Kroah-Hartman, kirill.shutemov, hughd
  Cc: Linux MM, Xishi Qiu, Li Zefan, Wang Nan

Hi Naoya or Greg,

f15bdfa802bfa5eb6b4b5a241b97ec9fa1204a35
mm/memory-failure.c: fix memory leak in successful soft offlining

This patche look applicable to stable-3.10.
After a successful page migration by soft offlining, the source 
page is not properly freed and it's never reusable even if we 
unpoison it afterward. This is caused by the race between freeing 
page and setting PG_hwpoison.
It was built successful for me. What do you think?

Thanks,
Xishi Qiu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [request for stable inclusion] mm/memory-failure.c: fix memory leak in successful soft offlining
  2014-02-13  1:41 [request for stable inclusion] mm/memory-failure.c: fix memory leak in successful soft offlining Xishi Qiu
@ 2014-02-13 20:32 ` Naoya Horiguchi
  0 siblings, 0 replies; 2+ messages in thread
From: Naoya Horiguchi @ 2014-02-13 20:32 UTC (permalink / raw)
  To: Xishi Qiu
  Cc: Greg Kroah-Hartman, kirill.shutemov, hughd, Linux MM, Li Zefan, Wang Nan

Hello Xishi,

On Thu, Feb 13, 2014 at 09:41:58AM +0800, Xishi Qiu wrote:
> Hi Naoya or Greg,
> 
> f15bdfa802bfa5eb6b4b5a241b97ec9fa1204a35
> mm/memory-failure.c: fix memory leak in successful soft offlining
> 
> This patche look applicable to stable-3.10.
> After a successful page migration by soft offlining, the source 
> page is not properly freed and it's never reusable even if we 
> unpoison it afterward. This is caused by the race between freeing 
> page and setting PG_hwpoison.
> It was built successful for me. What do you think?

I agree to sending this patch into the stable.
I should've added "cc: stable" tag in patch description.

Thanks,
Naoya Horiguchi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-13 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13  1:41 [request for stable inclusion] mm/memory-failure.c: fix memory leak in successful soft offlining Xishi Qiu
2014-02-13 20:32 ` Naoya Horiguchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.