Messages in this thread | | | Date | Fri, 11 Apr 2008 03:16:42 -0700 (PDT) | Subject | Re: [PATCH 2/2] kernel: Move arches to use common unaligned access | From | David Miller <> |
| |
From: David Howells <dhowells@redhat.com> Date: Fri, 11 Apr 2008 11:11:28 +0100
> Harvey Harrison <harvey.harrison@gmail.com> wrote: > > > - * impractical. So, now we fall back to using memcpy. > > + * impractical. So, now we fall back to using memmov. > > That's memmove, not memmov. Any why memmove, not memcpy? Is __tmp likely to > overlap with *ptr?
No, I think it has something to do with what cases GCC is allowed to optimize the call inline and what cases it cannot wrt. alignment of datums.
| |