| To: | Erik Jacobson <erikj@xxxxxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: 2.6.7 pagg patch available |
| From: | Peter Williams <pwil3058@xxxxxxxxxxxxxx> |
| Date: | Thu, 17 Jun 2004 13:19:00 +1000 |
| Cc: | pagg@xxxxxxxxxxx |
| In-reply-to: | <Pine.SGI.4.53.0406162134050.1558349@subway.americas.sgi.com> |
| References: | <Pine.SGI.4.53.0406161951420.1577589@subway.americas.sgi.com> <40D0F92B.1080104@bigpond.net.au> <Pine.SGI.4.53.0406162134050.1558349@subway.americas.sgi.com> |
| Sender: | pagg-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
Erik Jacobson wrote:
Did you include my modifications in this patch?
I think that you should at least put the changes that I sent that implement "per task initialization" during registration and do the automatic clean up at deregistration. Without the first of these you have a callback in your interface which doesn't get used (and that's bad). Without the second of these writing a "safe" client is much harder than it needs to be. The current implementation refuses to deregister if the client still has paggs attached to any tasks and this can lead to the system getting into an inconsistent state during the unloading of a client kernel module. My changes use the IMHO better option of detaching these paggs and calling the clients detach() callback on them which means that writing a client that loads and unloads safely is a doddle. The extra callbacks for ruid, rgid and CPU affinity are a different issue but I think that they will be acceptable to LKML. They have the advantage of making PAGG more useful and increasing the chances of more clients being created and made public (and also decreases the chances someone else will create a competing patch to PAGG because PAGG doesn't do enough). On the other hand, I don't think that they're urgent and they can wait until later if you're worried about rocking the boat. Looking at the NIKM announcement (that I forwarded you earlier) in more detail it would appear that attach(), detach() and exec() are sufficient for their purposes (you just have to convince them to use it :-)) so leaving these changes out is a safe option for now. Peter PS I think that I sent my patches in two parts so that you can apply the essential (or more precisely the ones that I think are essential :-)) ones without getting the others. BTW the "essential" patches only modify the PAGG files and don't touch any other kernel files so they should apply to your 2.6.7 version without any trouble. -- Peter Williams pwil3058@xxxxxxxxxxxxxx "Learning, n. The kind of ignorance distinguishing the studious." -- Ambrose Bierce |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.6.7 pagg patch available, Erik Jacobson |
|---|---|
| Next by Date: | Re: 2.6.7 pagg patch available, Erik Jacobson |
| Previous by Thread: | Re: 2.6.7 pagg patch available, Erik Jacobson |
| Next by Thread: | Re: 2.6.7 pagg patch available, Erik Jacobson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |