Re: updated patch for lockd, rpc

Edward Welbon (welbon@bga.com)
Sun, 5 Oct 1997 02:23:02 -0500 (CDT)


On Sat, 4 Oct 1997, Bill Hawes wrote:

> Steven N. Hirsch wrote:
> > it's arguably the snappiest combination of NFS and interactive performance
> > I've seen in the 2.1.x series <g>.

I agree.

> Good, but I do recommend moving the "exit_files(current);" line in
> fs/lockd/svc.c to follow the "rpciod_up()" call. One of those rough
> edges ...

Uh, I have

/* exit_files(current); */
exit_mm(current);
current->session = 1;
current->pgrp = 1;
sprintf(current->comm, "lockd");

/* kick rpciod */
rpciod_up();

I assume that what you want it

exit_mm(current);
current->session = 1;
current->pgrp = 1;
sprintf(current->comm, "lockd");

/* kick rpciod */
rpciod_up();
exit_files(current);

i.e., the line moved and un-commented or did I go awry? In any event
the kernel works quite nicely.

Ed Welbon - welbon@bga.com
In nature there is neither right or wrong, only consequences.