From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:37438 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751943AbdEQBr0 (ORCPT ); Tue, 16 May 2017 21:47:26 -0400 Date: Wed, 17 May 2017 02:47:19 +0100 From: Al Viro To: Daeho Jeong Cc: Eric Dumazet , "mguzik@redhat.com" , "linux-fsdevel@vger.kernel.org" Subject: Re: Re: [PATCH] fs: initialize resize_wait wait queue of init task Message-ID: <20170517014719.GV390@ZenIV.linux.org.uk> References: <1494916832-9732-1-git-send-email-daeho.jeong@samsung.com> <20170517002519epcms1p31ef6730545cfb4652beab890a047805a@epcms1p3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170517002519epcms1p31ef6730545cfb4652beab890a047805a@epcms1p3> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, May 17, 2017 at 12:25:19AM +0000, Daeho Jeong wrote: > > I am curious, what kind of kernel threads are using file table ? > > Thanks. > > I don't know all the cases of that. > But, in the embedded world, a lot of device drivers or kernel daemons are > opening the files to just watch and read, > or to write some log data. Sure, but WTF would they want file descriptors for that? All primitives use struct file * anyway, so...