OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH 4/4] Use task_pgrp() in autofs/autofs4
Re: [PATCH 4/4] Use task_pgrp() in autofs/autofs4 [message #17548 is a reply to message #17537] Thu, 01 March 2007 04:02 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
sukadev@us.ibm.com writes:

> Ok. I thought they were low priority but required eventually.

If the target is not the current task change is required.  We gain
very little by changing our accessors of the current task.

The important part is that when someone else looks at us we
go through a struct pid and pid_nr so they get the relative view
of what is going on.

The tricky thing is that we find all references to pids.  The well
defined functions are easy.  We can grep for them and see if they
are using anything besides current.

Any time we store a pid we need to store it as a struct pid.

Right now by messing with pid_nr(task_xxx(current)) you are generating
a lot of unnecessary changes, and to some extent hiding where real
change needs to happen.

These things all follow from the fundamentals of what we are doing.

> | I have largely given up on review this patch set until that is fixed.
>
> I am sending out the patches with the noise cancelled :-) Would like
> to send them out to akpm in a few days.

Unfortunately I won't have a chance to do anything until sometime next
week.  I'm off on a short trip without a computer.

Eric
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [ckrm-tech] [PATCH 3/3][RFC] Containers: Pagecache controller reclaim
Next Topic: Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!
Goto Forum:
  


Current Time: Tue Sep 09 21:59:35 GMT 2025

Total time taken to generate the page: 0.08790 seconds