public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: kernel apm code (PR#128)
       [not found] <200103280018.f2S0IBk29870@pcug.org.au>
@ 2001-03-30 16:36 ` John Fremlin
  0 siblings, 0 replies; only message in thread
From: John Fremlin @ 2001-03-30 16:36 UTC (permalink / raw)
  To: sfr; +Cc: david.balazic, apenwarr, apm, linux-kernel, linux-laptop

sfr@canb.auug.org.au writes:

[...]

> > AFAICS. I hacked together the following patch for it a while ago,
> > which updated APM_IOC_REJECT for slightly more recent kernels (be
> > warned, I think I made some mistakes)
> 
> Thanks for this, I will review it and post a patch based on it (with
> due accredition of course).

Not sure that would be an altogether good idea, because I think I made
a bit of a hash of it ;-)

Did you get Albert Cranford's version?  I would recommend it over mine
(though I have not yet looked at it).

[...]

> I did not say the I did not "like the idea of me implementing it, as
> some people at linuxcare (including Stephen) want to do it
> differently themselves".  

I did interpolate the connection between these two clauses. If it
truely did not exist, I apologise.

> What I said the first time was that I preferred the idea of a user
> mode daemon interacting with the kernel not the kernel forking and
> execing a new process for every event.

This has nothing to do with the interface presented to the APM driver.

[...]

> It is important when implementing an API (and that is what we are
> doing) to try to get it as right and stable as possible because
> other developers do not like interfaces changing ...

Maybe this is true in general but in this particular case the "API"
has only one user at the moment, which is APM, so it is hardly a fully
fledged abstraction layer. Do you argue that the current pm_send_all
interface is superior to the one in my patch?

[...]

-- 

	http://www.penguinpowered.com/~vii

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-30 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200103280018.f2S0IBk29870@pcug.org.au>
2001-03-30 16:36 ` kernel apm code (PR#128) John Fremlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox