lkml.org 
[lkml]   [2014]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[V2 PATCH 0/2] Bug fix in aio ring page migration
This patch-set fixes the following two problems:

1. Need to use ctx->completion_lock to protect ring pages
from being mis-written while migration.

2. Need memory barrier to ensure memory copy is done before
ctx->ring_pages[] is updated.

NOTE: AIO ring page migration was implemented since Linux 3.12.
So we need to merge these two patches into 3.12 stable tree.

Tang Chen (2):
aio, memory-hotplug: Fix confliction when migrating and accessing
ring pages.
aio, mem-hotplug: Add memory barrier to aio ring page migration.

fs/aio.c | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)

--
1.7.7


\
 
 \ /
  Last update: 2014-03-10 07:01    [W:0.093 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site