RE: I have a problem about changing a bundle, help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>	If the statements are unsafe, how can i change a bundle safely?

If you are on a cpu that supports "st16" (Montecito or later) then you can
use that to update the whole bundle in a single atomic write rather than
using memcpy().

Without st16, I think the only safe way to update the bundle is to ensure
that no processor is executing it while the update is occuring.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux