login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
19
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Segher Boessenkool <segher@...>
To: Heiko Carstens <heiko.carstens@...>
Cc: Bastian Blank <bastian@...>, <linux-kernel@...>, <linux-s390@...>, Martin Schwidefsky <schwidefsky@...>
Subject:
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
Date: Tuesday, February 19, 2008 - 2:44 pm
>>>> + /*
quoted text
>>>> + * Only need to copy the first 512 bytes from address 0. But since >>>> + * the compiler emits a warning if src == NULL for memcpy use >>>> copy_page >>>> + * instead. Copies more than needed but this code is not >>>> performance >>>> + * critical. >>>> + */ >>>> + copy_page(lowcore, &S390_lowcore); >>> >>> Boah, workaround alert. Why do you not fix the compiler? >> >> We need to copy from address 0 (that's where the lowcore resides). >> But gcc >> insists to complain if memcpy is used with src == NULL.. Now what? > > Erm sorry, misread your question. Usually it's a bug to use memcpy with > src == NULL. In this case it's ok. So I think it's perfectly ok if gcc > emits a warning. > If you know of a better way to get around this please let me know.
-ffreestanding or -Wno-nonnull? Segher --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Martin Schwidefsky
, (Tue Feb 19, 10:40 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Bastian Blank
, (Tue Feb 19, 11:13 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Heiko Carstens
, (Tue Feb 19, 11:38 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Heiko Carstens
, (Tue Feb 19, 11:41 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Segher Boessenkool
, (Tue Feb 19, 2:44 pm)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Heiko Carstens
, (Wed Feb 20, 5:45 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Bastian Blank
, (Wed Feb 20, 6:09 am)
Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.
, Heiko Carstens
, (Wed Feb 20, 6:24 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jens Axboe
Re: [BUG] New Kernel Bugs
Faik Uygur
Re: Linux 2.6.21-rc1
Ingo Molnar
[patch 02/13] syslets: add syslet.h include file, user API/ABI definitions
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: Data corruption issue with splice() on 2.6.27.10
Steven Rostedt
Re: -rt scheduling: wakeup bug?
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
11 users
and
951 guests
online.
Online users
elmasguapodelm
zeekec
nhlawyersdsxq
licassar
howtocreateasa
strcmp
francorizzo83
boschdiswashwbc
cleanupregistr
utilitytime72
irvinecarpetcl
Syndicate