Re: [git pull] "big box" x86 changes, boot protocol

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Linus Torvalds <torvalds@...>, <linux-kernel@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Yinghai Lu <yinghai.lu@...>, Yinghai Lu <yhlu.kernel@...>, <jbarnes@...>
Date: Saturday, April 26, 2008 - 4:39 pm

On Sat, 26 Apr 2008 21:54:07 +0200 Ingo Molnar <mingo@elte.hu> wrote:


nit: memcpy() shouldn't be used for overlapping copies.  It happens to be
OK (for dst<src) in the kernel implementations.  We hope.



nit2: a read() function should return the number of bytes copied, and
should advance the file pointer by that much.  This code fails to do this
when a partial copy_to_user() occurs.

But we've made that mistake in many places and it doesn't appear to matter.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC git pull] "big box" x86 changes, Ingo Molnar, (Sat Apr 26, 2:55 pm)
Re: [RFC git pull] "big box" x86 changes, Andi Kleen, (Sat Apr 26, 6:17 pm)
Re: [RFC git pull] "big box" x86 changes, Yinghai Lu, (Sat Apr 26, 11:14 pm)
Re: [RFC git pull] "big box" x86 changes II, Andi Kleen, (Sun Apr 27, 4:32 am)
Re: [RFC git pull] "big box" x86 changes, Andi Kleen, (Sun Apr 27, 4:30 am)
Re: [RFC git pull] "big box" x86 changes, Linus Torvalds, (Sat Apr 26, 3:12 pm)
[git pull] "big box" x86 changes, PCI, Ingo Molnar, (Sat Apr 26, 5:55 pm)
Re: [git pull] "big box" x86 changes, PCI, Jesse Barnes, (Mon Apr 28, 4:34 pm)
Re: [git pull] "big box" x86 changes, PCI, Yinghai Lu, (Mon Apr 28, 6:53 pm)
Re: [git pull] "big box" x86 changes, PCI, Jesse Barnes, (Sun Apr 27, 12:30 pm)
Re: [git pull] "big box" x86 changes, PCI, Ingo Molnar, (Mon Apr 28, 11:38 am)
[RFC git pull] "big box" x86 changes, GART, Ingo Molnar, (Sat Apr 26, 4:24 pm)
Re: [RFC git pull] "big box" x86 changes, GART, Ingo Molnar, (Sat Apr 26, 4:26 pm)
[git pull] "big box" x86 changes, boot protocol, Ingo Molnar, (Sat Apr 26, 3:54 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Ian Campbell, (Sun Apr 27, 7:21 am)
Re: [git pull] "big box" x86 changes, boot protocol, Ingo Molnar, (Mon Apr 28, 11:27 am)
Re: [git pull] "big box" x86 changes, boot protocol, H. Peter Anvin, (Sun Apr 27, 3:29 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Andrew Morton, (Sat Apr 26, 4:39 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Jeremy Fitzhardinge, (Sat Apr 26, 7:37 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Adrian Bunk, (Sat Apr 26, 5:06 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Linus Torvalds, (Sat Apr 26, 5:11 pm)
Re: [git pull] "big box" x86 changes, boot protocol, Ingo Molnar, (Sat Apr 26, 5:17 pm)
Re: [git pull] "big box" x86 changes, boot protocol, H. Peter Anvin, (Sat Apr 26, 5:10 pm)
[git pull] "big box" x86 changes, bootmem/sparsemem, Ingo Molnar, (Sat Apr 26, 3:41 pm)
Re: [git pull] "big box" x86 changes, bootmem/sparsemem, Johannes Weiner, (Sun Apr 27, 6:48 pm)
Re: [git pull] "big box" x86 changes, bootmem/sparsemem, Johannes Weiner, (Mon Apr 28, 12:58 pm)
Re: [git pull] "big box" x86 changes, bootmem/sparsemem, Johannes Weiner, (Sun Apr 27, 8:19 pm)
[patch] mm: node-setup agnostic free_bootmem(), Ingo Molnar, (Sun Apr 27, 8:40 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Johannes Weiner, (Mon Apr 28, 12:49 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Ingo Molnar, (Tue Apr 29, 10:25 am)
Re: [patch] mm: node-setup agnostic free_bootmem(), Johannes Weiner, (Wed Apr 30, 6:52 am)
Re: [patch] mm: node-setup agnostic free_bootmem(), Yinghai Lu, (Sun Apr 27, 9:48 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Johannes Weiner, (Mon Apr 28, 12:54 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Yinghai Lu, (Mon Apr 28, 3:11 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Yinghai Lu, (Mon Apr 28, 3:55 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Johannes Weiner, (Wed Apr 30, 6:50 am)
Re: [patch] mm: node-setup agnostic free_bootmem(), Yinghai Lu, (Wed Apr 30, 12:22 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Johannes Weiner, (Wed Apr 30, 1:52 pm)
Re: [patch] mm: node-setup agnostic free_bootmem(), Yinghai Lu, (Wed Apr 30, 4:30 pm)
Re: [git pull] "big box" x86 changes, bootmem/sparsemem, Linus Torvalds, (Sat Apr 26, 3:52 pm)
Re: [RFC git pull] "big box" x86 changes, Stefan Richter, (Sat Apr 26, 3:05 pm)
Re: [RFC git pull] "big box" x86 changes, Ingo Molnar, (Sat Apr 26, 3:21 pm)