Hi Jason,
On 2017/10/18 22:03, Jason Baron wrote:
>
>
> On 10/17/2017 11:37 AM, Davidlohr Bueso wrote:
>> On Fri, 13 Oct 2017, Jason Baron wrote:
>>
>>> The ep_poll_safewake() function is used to wakeup potentially nested
>>> epoll
>>> file descriptors. The function uses ep_call_nested() to
Hi Jason,
On 2017/10/18 22:03, Jason Baron wrote:
>
>
> On 10/17/2017 11:37 AM, Davidlohr Bueso wrote:
>> On Fri, 13 Oct 2017, Jason Baron wrote:
>>
>>> The ep_poll_safewake() function is used to wakeup potentially nested
>>> epoll
>>> file descriptors. The function uses ep_call_nested() to
Hi,
On 2017/10/28 21:58, Davidlohr Bueso wrote:
> On Sat, 28 Oct 2017, Hou Tao wrote:
>
>> Remove the global epmutex from ep_free() and eventpoll_release_file().
>> In the later patches, we will add locks with a smaller granularity
>> to serve the same purposes of e
Hi,
On 2017/10/28 21:58, Davidlohr Bueso wrote:
> On Sat, 28 Oct 2017, Hou Tao wrote:
>
>> Remove the global epmutex from ep_free() and eventpoll_release_file().
>> In the later patches, we will add locks with a smaller granularity
>> to serve the same purposes of e
When eventpoll_release_file() iterates epitem in file->f_ep_links,
the epitem may be removed by ep_free(). To protect again the concurrent
writer, iterate file->f_ep_links by using rcu_read_lock() and
list_first_or_null_rcu()
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/even
When eventpoll_release_file() iterates epitem in file->f_ep_links,
the epitem may be removed by ep_free(). To protect again the concurrent
writer, iterate file->f_ep_links by using rcu_read_lock() and
list_first_or_null_rcu()
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 12 +++-
.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 12
1 file changed, 12 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 44ea587..998c635 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1029,6 +1029,18 @@ void eventpoll_release_file(struc
.
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 12
1 file changed, 12 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 44ea587..998c635 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1029,6 +1029,18 @@ void eventpoll_release_file(struct file *file
When ep_free() iterates the epi in ep->rbr, the epi may be removed
by eventpoll_release_file(). To protect again the case, acquiring
ep->mtx before the iteration of ep->rbr.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 2 +-
1 file changed, 1 insertion(+), 1 de
ch 8 enlarge the protected region of ep->mtx to protect against
the iteration of ep->rbr.
The patch set has passed the epoll related test cases in LTP, and we are
planing to run some torture or performance test cases for nested-epoll
cases.
Comments and questions are welcome.
Regards,
Tao
---
Hou Tao
When ep_free() iterates the epi in ep->rbr, the epi may be removed
by eventpoll_release_file(). To protect again the case, acquiring
ep->mtx before the iteration of ep->rbr.
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
ch 8 enlarge the protected region of ep->mtx to protect against
the iteration of ep->rbr.
The patch set has passed the epoll related test cases in LTP, and we are
planing to run some torture or performance test cases for nested-epoll
cases.
Comments and questions are welcome.
Regards,
Tao
---
Hou Tao
added to the visited_list, we need to wait for its removal.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 26ab0c5..44ea587 100644
--- a/fs/eventpoll.c
++
needs to acquire ep->mtx which is a mutex, so we add a ref-counter to
eventpoll and increase it before leaving the rcu read critical region.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 38 +++---
1 file changed, 31 insertions(+), 7 deletions
ay has already got the epi from
file->f_ep_links. To protect against the double-free case, check
rb_first_cached() in eventpoll_release_file() to ensure the epi
has not been removed by ep_free()
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 13 +++--
added to the visited_list, we need to wait for its removal.
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 26ab0c5..44ea587 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -862,6
needs to acquire ep->mtx which is a mutex, so we add a ref-counter to
eventpoll and increase it before leaving the rcu read critical region.
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 38 +++---
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/fs/eventpo
ay has already got the epi from
file->f_ep_links. To protect against the double-free case, check
rb_first_cached() in eventpoll_release_file() to ensure the epi
has not been removed by ep_free()
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 13 +++--
1 file changed, 11 inserti
Remove the global epmutex from ep_free() and eventpoll_release_file().
In the later patches, we will add locks with a smaller granularity
to serve the same purposes of epmutex.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 4
1 file changed, 4 deletions(-)
diff
struct belongs to an epoll fd
which also polls the target file.
So freeing eventpoll by rcu to ensure the accessed fields of
eventpoll are still valid when invoking reverse_path_check_proc().
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/eventpoll.c | 12 +++-
1 file changed, 1
Remove the global epmutex from ep_free() and eventpoll_release_file().
In the later patches, we will add locks with a smaller granularity
to serve the same purposes of epmutex.
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 4
1 file changed, 4 deletions(-)
diff --git a/fs/eventpoll.c b/fs
struct belongs to an epoll fd
which also polls the target file.
So freeing eventpoll by rcu to ensure the accessed fields of
eventpoll are still valid when invoking reverse_path_check_proc().
Signed-off-by: Hou Tao
---
fs/eventpoll.c | 12 +++-
1 file changed, 11 insertions(+), 1 de
.
To prevent the unnecessary RPCs, we need to check whether or not the
noac option is used, and always report the invocation of nfs_getattr()
as cache hit instead cache miss when it's on.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
fs/nfs/inode.c | 5 -
1 file changed, 4 insertions(+), 1 de
.
To prevent the unnecessary RPCs, we need to check whether or not the
noac option is used, and always report the invocation of nfs_getattr()
as cache hit instead cache miss when it's on.
Signed-off-by: Hou Tao
---
fs/nfs/inode.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs
Hi, any comment ?
On 2017/4/13 21:49, Hou Tao wrote:
> After the invocation of remove_proc_entry() for a proc fs directory,
> if the related dentry had been held by some processes (eg., by chdir),
> the lookup afterwards will still return the old proc_dir_entry. The
> new created p
Hi, any comment ?
On 2017/4/13 21:49, Hou Tao wrote:
> After the invocation of remove_proc_entry() for a proc fs directory,
> if the related dentry had been held by some processes (eg., by chdir),
> the lookup afterwards will still return the old proc_dir_entry. The
> new created p
-by: Hou Tao <hout...@huawei.com>
---
fs/proc/generic.c | 21 -
fs/proc/inode.c| 5 +
fs/proc/internal.h | 1 +
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/fs/proc/generic.c b/fs/proc/generic.c
index ee27feb..92c9dd4 100644
--- a/fs/proc/gen
-by: Hou Tao
---
fs/proc/generic.c | 21 -
fs/proc/inode.c| 5 +
fs/proc/internal.h | 1 +
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/fs/proc/generic.c b/fs/proc/generic.c
index ee27feb..92c9dd4 100644
--- a/fs/proc/generic.c
+++ b/fs/proc/generic.c
Sorry for the resend, please refer to the later one.
On 2017/3/6 21:50, Hou Tao wrote:
> Hi Jan and list,
>
> When testing the hrtimer version of CFQ, we found a performance degradation
> problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
> least 1 ji
Sorry for the resend, please refer to the later one.
On 2017/3/6 21:50, Hou Tao wrote:
> Hi Jan and list,
>
> When testing the hrtimer version of CFQ, we found a performance degradation
> problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
> least 1 ji
Hi Jan and list,
When testing the hrtimer version of CFQ, we found a performance degradation
problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
least 1 jiffie instead of 1 ns").
The following is the test process:
* filesystem and block device
* XFS + /dev/sda
Hi Jan and list,
When testing the hrtimer version of CFQ, we found a performance degradation
problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
least 1 jiffie instead of 1 ns").
The following is the test process:
* filesystem and block device
* XFS + /dev/sda
Hi Jan and list,
When testing the hrtimer version of CFQ, we found a performance degradation
problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
least 1 jiffie instead of 1 ns").
The following is the test process:
* filesystem and block device
* XFS + /dev/sda
Hi Jan and list,
When testing the hrtimer version of CFQ, we found a performance degradation
problem which seems to be caused by commit 0b31c10 ("cfq-iosched: Charge at
least 1 jiffie instead of 1 ns").
The following is the test process:
* filesystem and block device
* XFS + /dev/sda
Kconfig files under arch/ directory are ignored by all_kconfigs(),
so include them for tags generation.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
scripts/tags.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index df5fa77..d661f2f
Kconfig files under arch/ directory are ignored by all_kconfigs(),
so include them for tags generation.
Signed-off-by: Hou Tao
---
scripts/tags.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index df5fa77..d661f2f 100755
--- a/scripts/tags.sh
+++ b
s OK to renew the time slice.
2. If there is no queued bio, the time slice must have been expired,
so it's Ok to renew the time slice.
Signed-off-by: Hou Tao <hout...@huawei.com>
---
block/blk-throttle.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/block/blk
s OK to renew the time slice.
2. If there is no queued bio, the time slice must have been expired,
so it's Ok to renew the time slice.
Signed-off-by: Hou Tao
---
block/blk-throttle.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/block/blk-throttle.c b/block/blk-thr
queued=1/0
throtl /1 dispatch queued=2/0
..
throtl /1 dispatch disp=1
Signed-off-by: Hou Tao <hout...@huawei.com>
---
block/blk-throttle.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 47a3
queued=1/0
throtl /1 dispatch queued=2/0
..
throtl /1 dispatch disp=1
Signed-off-by: Hou Tao
---
block/blk-throttle.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 47a3e54..c724c97 100644
--- a/blo
101 - 140 of 140 matches
Mail list logo