so, despite the advantages of XIP, is anyone actually using it on a
regular or production basis? thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to eca...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
On Wed, May 02, 2007 at 09:36:09AM -0400, Robert P. J. Day wrote:
> is anyone using XIP for their linux kernel? i know the argument
> about saving space by running the kernel straight out of ROM, but that
> also costs more in terms of ROM memory since the kernel has to be
> stored uncompressed, no?
Correct. Given the fact that flash memory is more expensive than RAM,
I've always failed to see why XIP would be an advantage.
> so, despite the advantages of XIP, is anyone actually using it on a
> regular or production basis? thanks.
So far I haven't actually heard a convincing advantage of XIP.
I guess some appliances use XIP, after all it was a large network
vendor that moved a large stack of green paper in the direction of an
embedded Linux vendor to get XIP supported. After moving all that green
paper it would be a shame not to use the result ;)
Erik
- --
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGORQs/PlVHJtIto0RAvSxAJwO62RVhxIjSr0e3OW3OAYhutTo5ACfWd+g
lwTaLlP6b4ujr7PbNSwCY4Q=
=7Df3
-----END PGP SIGNATURE-----
Any insight would be helpful.
thanks
KB
_________________________________________________________________
Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN In
Concert today. http://music.msn.com/presents?icid=ncmsnpresentstagline
it doesnt ... it calls all registered interrupt handlers until one of
them returns IRQ_HANDLED
it's up to each individual interrupt handler to decide whether the
generated interrupt is for its device
-mike
It calles them all, until one says it handled the interrupt.
thanks,
greg k-h
yes, but that's really not the kernel's problem ... that's an issue
the system designer must keep in mind when architecting the hardware
... also, this is a good reason why interrupt handlers need to be as
small as possible and defer longer work to tasklets or workqueues
-mike
> > Can someone explain how the kernel figures out which interrupt handler
> > to call when the interrupt line is shared.
>
> It calles them all, until one says it handled the interrupt.
>
Doesn't the following code in handle_IRQ_event() suggest that ALL the
interrupt handlers are called, IRRESPECTIVE of the return value?
do {
ret = action->handler(irq, action->dev_id);
if (ret == IRQ_HANDLED)
status |= action->flags;
retval |= ret;
action = action->next;
} while (action);
Thanks,
Rajat
it certainly seems that way huh ;)
makes sense too for the reasons "k b" highlighted
-mike