Philip Blundell writes:
> >So that it can access the expansion card ROMs using their loaders to get
> >things like Ether addresses out of them, and shut the cards down properly
> >when rebooting (so that RISC OS and Linux can re-detect them).
> 
> I see.  Does it really need a daemon do do that?  I'd have thought just 
> mapping the cards temporarily at startup and again at shutdown would suffice.
> Not that a daemon really hurts I suppose.

However, when you start to think about loadable modules, this argument does not
count (loaders are required to get at the IP addresses for some netcards, since
they're stored in the description string, which might not be in the first chunk
directory).

> BTW, it occurs to me that even in the presence of kcardd (assuming there's 
> only one of it) you can avoid a cache flush on context switch if the *old* 
> task rather than the new one is a kernel thread.  Or we could just arrange for 
> kcardd not to count as a kernel thread.

kcardd could be given a separate set of page tables, which in that case it would
suffice (since mm->pgd != swapper_pg_dir).
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |  http://www.arm.linux.org.uk/~rmk/armlinux.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to