All of lore.kernel.org
 help / color / mirror / Atom feed
* Unaligned writes on the kexec path
@ 2011-11-28 14:24 Andrew Cooper
  2011-11-28 20:42 ` Keir Fraser
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2011-11-28 14:24 UTC (permalink / raw)
  To: Keir Fraser, xen-devel@lists.xensource.com

Hello,

In c/s 7493bb48d89f, you change the internals of kexec_crash_save_info()
to reduce unaligned writes, but pass the resulting pointer back to
machine_crash_shutdown() which performs writes on the possibly unaligned
data structure.  There are also plenty of other writes on the kexec path
which are possibly or certainly unaligned.

What is the reason for wanting to reduce unaligned writes?

Would a better solution be to just ensure that the crash note itself is
properly aligned?

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-01  3:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 14:24 Unaligned writes on the kexec path Andrew Cooper
2011-11-28 20:42 ` Keir Fraser
2011-11-29  5:51   ` Simon Horman
2011-11-29 10:49     ` Andrew Cooper
2011-11-29 11:35       ` Jan Beulich
2011-11-29 12:54         ` Andrew Cooper
2011-12-01  3:00           ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.