2011/7/31 Kostik Belousov :
> Below is the hopefully final patch after Bruce Evans' comments incorporated.
> If nobody speaks, I will send this to re tomorrow.
I notice it's been committed already, and tested latest HEAD. It's
working fine, thank you!
--
Robert Millan
__
On Sun, Jul 31, 2011 at 06:56:51PM +0200, Robert Millan wrote:
> 2011/7/30 Kostik Belousov :
> > Second, my proposal contains a flaw. Namely, if some swap device was removed
> > between calls to swap_info and swap_devname calls, we get mangled list.
>
> Ok, I see that you fixed this by unifying th
2011/7/30 Kostik Belousov :
> Second, my proposal contains a flaw. Namely, if some swap device was removed
> between calls to swap_info and swap_devname calls, we get mangled list.
Ok, I see that you fixed this by unifying those functions.
> The third problem, which is not fixed, and which I do n
On Sat, Jul 30, 2011 at 01:06:48AM +0200, Robert Millan wrote:
> Hi Kostik,
>
> 2011/7/29 Kostik Belousov :
> > The patch is too hackish, IMHO.
> > I would prefer to have an exported kernel function that fills xswdev
> > by index, used both by vm_swap_info and linprocfs.
> >
> > For the device nam
Hi Kostik,
2011/7/29 Kostik Belousov :
> The patch is too hackish, IMHO.
> I would prefer to have an exported kernel function that fills xswdev
> by index, used both by vm_swap_info and linprocfs.
>
> For the device name, you would use sw_vp->v_rdev->si_name, see, for
> instance, the following fra