RE: A race condition between debugfs and seq_file operation

2015-06-09 Thread Lisa Du
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: 2015年6月10日 13:20 > To: Lisa Du > Cc: linux-kernel@vger.kernel.org > Subject: Re: A race condition between debugfs and seq_file operation > > On Wed, Jun 10, 2015 a

RE: A race condition between debugfs and seq_file operation

2015-06-09 Thread Lisa Du
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: 2015年6月10日 5:12 > To: Lisa Du > Cc: linux-kernel@vger.kernel.org > Subject: Re: A race condition between debugfs and seq_file operation > > On Mon, Jun 08, 2015 at 0

A race condition between debugfs and seq_file operation

2015-06-07 Thread Lisa Du
Hi, All Recently I met one race condition related to debugfs. Take an example from ion.c in kernel3.14: static int ion_debug_client_open(struct inode *inode, struct file *file) { return single_open(file, ion_debug_client_show, inode->i_private); } static const struct file_operations debug

RE: 6e543d5780e fixed a boot hang

2013-10-09 Thread Lisa Du
>-Original Message- >From: Fengguang Wu [mailto:fengguang...@intel.com] >Sent: 2013年10月9日 22:12 >To: Lisa Du >Cc: KOSAKI Motohiro; linux...@kvack.org; linux-kernel@vger.kernel.org >Subject: 6e543d5780e fixed a boot hang > >Greetings, > >FYI, this commit seem t