Re: Filepaths in VM map for tmpfs files

2015-02-08 Thread Eric Badger
On 02/05/2015 07:25 AM, John Baldwin wrote: On Thursday, February 05, 2015 10:37:55 AM Konstantin Belousov wrote: On Wed, Feb 04, 2015 at 10:15:04AM -0500, John Baldwin wrote: On Tuesday, February 03, 2015 10:33:36 PM Konstantin Belousov wrote: On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric B

Re: Filepaths in VM map for tmpfs files

2015-02-05 Thread John Baldwin
On Thursday, February 05, 2015 10:37:55 AM Konstantin Belousov wrote: > On Wed, Feb 04, 2015 at 10:15:04AM -0500, John Baldwin wrote: > > On Tuesday, February 03, 2015 10:33:36 PM Konstantin Belousov wrote: > > > On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric Badger wrote: > > > > On 02/02/2015 03:

Re: Filepaths in VM map for tmpfs files

2015-02-05 Thread Konstantin Belousov
On Wed, Feb 04, 2015 at 10:15:04AM -0500, John Baldwin wrote: > On Tuesday, February 03, 2015 10:33:36 PM Konstantin Belousov wrote: > > On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric Badger wrote: > > > On 02/02/2015 03:30 AM, Konstantin Belousov wrote: > > > > On Sun, Feb 01, 2015 at 08:38:29PM -

Re: Filepaths in VM map for tmpfs files

2015-02-04 Thread John Baldwin
On Tuesday, February 03, 2015 10:33:36 PM Konstantin Belousov wrote: > On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric Badger wrote: > > On 02/02/2015 03:30 AM, Konstantin Belousov wrote: > > > On Sun, Feb 01, 2015 at 08:38:29PM -0600, Eric Badger wrote: > > >> On 01/31/2015 09:36 AM, Konstantin Bel

Re: Filepaths in VM map for tmpfs files

2015-02-04 Thread Eric Badger
On 02/03/2015 02:33 PM, Konstantin Belousov wrote: On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric Badger wrote: On 02/02/2015 03:30 AM, Konstantin Belousov wrote: On Sun, Feb 01, 2015 at 08:38:29PM -0600, Eric Badger wrote: On 01/31/2015 09:36 AM, Konstantin Belousov wrote: First, shouldn't

Re: Filepaths in VM map for tmpfs files

2015-02-03 Thread Konstantin Belousov
On Mon, Feb 02, 2015 at 09:50:22PM -0600, Eric Badger wrote: > > On 02/02/2015 03:30 AM, Konstantin Belousov wrote: > > On Sun, Feb 01, 2015 at 08:38:29PM -0600, Eric Badger wrote: > >> On 01/31/2015 09:36 AM, Konstantin Belousov wrote: > >>> First, shouldn't the kve_type changed to KVME_TYPE_VNOD

Re: Filepaths in VM map for tmpfs files

2015-02-02 Thread Eric Badger
On 02/02/2015 03:30 AM, Konstantin Belousov wrote: On Sun, Feb 01, 2015 at 08:38:29PM -0600, Eric Badger wrote: On 01/31/2015 09:36 AM, Konstantin Belousov wrote: First, shouldn't the kve_type changed to KVME_TYPE_VNODE as well ? My thinking is no, because KVME_TYPE_SWAP is in fact the correc

Re: Filepaths in VM map for tmpfs files

2015-02-02 Thread Konstantin Belousov
On Sun, Feb 01, 2015 at 08:38:29PM -0600, Eric Badger wrote: > > On 01/31/2015 09:36 AM, Konstantin Belousov wrote: > > First, shouldn't the kve_type changed to KVME_TYPE_VNODE as well ? > My thinking is no, because KVME_TYPE_SWAP is in fact the correct type; > I'd opine that it is better to be t

Re: Filepaths in VM map for tmpfs files

2015-02-01 Thread Eric Badger
On 01/31/2015 09:36 AM, Konstantin Belousov wrote: First, shouldn't the kve_type changed to KVME_TYPE_VNODE as well ? My thinking is no, because KVME_TYPE_SWAP is in fact the correct type; I'd opine that it is better to be transparent than make it look like there is an OBJT_VNODE object there.

Re: Filepaths in VM map for tmpfs files

2015-01-31 Thread Konstantin Belousov
On Sat, Jan 31, 2015 at 09:07:23AM -0600, Eric Badger wrote: > In FreeBSD 9, examining the VM map of a process (with e.g. 'procstat > -v') with a tmpfs file mapped showed a VNODE type and displayed the file > path. In 10.0 up to CURRENT (I believe this started at r250030), instead > SWAP is show

Filepaths in VM map for tmpfs files

2015-01-31 Thread Eric Badger
In FreeBSD 9, examining the VM map of a process (with e.g. 'procstat -v') with a tmpfs file mapped showed a VNODE type and displayed the file path. In 10.0 up to CURRENT (I believe this started at r250030), instead SWAP is shown without a filepath. This has some unfortunate consequences; I dis