Re: Interrupts during page fault exceptions

2019-05-07 Thread Shrikant Giridhar
t On Tue, May 7, 2019, 10:19 AM Shrikant Giridhar wrote: > Hi, > > I was looking at arch code setting up page fault handling in the kernel > and came away with a couple of questions. > > Can hardware interrupts (non-NMI) occur during page faults? On x86, I > notice that the page

Interrupts during page fault exceptions

2019-05-07 Thread Shrikant Giridhar
Hi, I was looking at arch code setting up page fault handling in the kernel and came away with a couple of questions. Can hardware interrupts (non-NMI) occur during page faults? On x86, I notice that the page fault handler is set up with an interrupt gate which should clear the IF (Interrupt

Re: VFS: mount_bdev and fill_super

2017-06-18 Thread Shrikant Giridhar
On Fri, 16 Jun 2017, Rohan Puri wrote: > If s_root is set it means the superblock is already filled up so call > fill_super() only if s_root is NULL meaning superblock is not filled yet. I tried looking at the d_name of the s_root dentry when mounting a device and its always '/'. I presume this

Re: VFS: mount_bdev and fill_super

2017-06-16 Thread Shrikant Giridhar
> I just had a quick look at mount_bdev() code for Linux v3.15, mount_bdev() > can return only root dentry or error. I'm sorry I should have been clearer. I was referring to the documentation mount() where it says that the call can return something other than the root dentry. More specifically,