linux-kernel mailing list

FromSubjectsort iconDate
devzero
Re: [PATCH][RFC] fast file mapping for loop
oh, nice to see that this is still alive. i tried this around half a year ago because i needed more than 256 loop devices and iirc, this was working quite fine. at least i got no crashes and was able to mount and acess more than 300 iso-images with that. shortly after, loop device was extended to handle a larger number of loop-devices and i went that way because dm-loop was not in mainline. i have taken a look at the wiki at http://sources.redhat.com/lvm2/wiki/DMLoop from time to time, but there ...
Jan 9, 7:43 pm 2008
Alasdair G Kergon
Re: [PATCH][RFC] fast file mapping for loop
Little has changed for some time - mostly code cleanups and the occasional bug fix. It's time to give it wider exposure, I think, and we'll find out how well it holds up. Alasdair -- agk@redhat.com --
Jan 9, 7:53 pm 2008
Bartlomiej Zolnierki... Jan 9, 7:48 pm 2008
Bartlomiej Zolnierki...
[PATCH] ide-cd: remove struct atapi_capabilities_page (take 2)
* Remove struct atapi_capabilities_page. * Add ATAPI_CAPABILITIES_PAGE[_PAD]_SIZE define. v2: * The buf[] array access indexes were swapped between 'curspeed'/'maxspeed'. (Noticed by Borislav Petkov). Cc: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- this is the replacement patch for the one currently in the IDE tree drivers/ide/ide-cd.c | 62 +++++++------- drivers/ide/ide-cd.h | 223 ------------------------------...
Jan 9, 7:48 pm 2008
Steven Rostedt
[RFC PATCH 00/22 -v2] mcount and latency tracing utility -v2
[ version 2 of mcount patches: changes include: Removal of most notrace. Even though it may clutter a bit, we can always add more later. Removal of REGPARM. No changes is made with respect to that. Cleaned up Makefile and used Kconfig for config dependencies. Some other minor cleanups. Cleaned up tracer itself. Made it more generic and can be used to trace multiple methods. Added irqs off latency tracing. This records the highest latency areas that interrupts a...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 22/22 -v2] Trace irq disabled critical timings
This patch adds latency tracing for critical timings. In /debugfs/tracing/ three files are added: max_irq_latency holds the max latency thus far (in usecs) (default to large number so one must start latency tracing) irq_thresh threshold (in usecs) to always print out if irqs off is detected to be longer than stated here. If irq_thresh is non-zero, then max_irq_latency is ignored. irqsoff_trace Trace of where the latecy was detected. irqsoff_fn_trace_ctr...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 21/22 -v2] Split out specific tracing functions
Several different types of tracing needs to use the same core functions. This patch separates the core functions from more specific onecs to allow for future tracing methods. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/Kconfig | 6 lib/tracing/Makefile | 3 lib/tracing/trace_function.c | 211 ++++++++++++++++++ lib/tracing/tracer.c | 457 ++++++++++++++--------------------------- lib/tracing/tracer.h | 55 ++++ ...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 19/22 -v2] speed up the output of the tracer
The current method of printing out the trace is on every read, do a linear search for the next entry to print. This patch remembers the next entry to look at in the iterator, and if the next read is sequential, it can start reading from the next location. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) Index: linux-compile-i386.git/lib/tracing/tracer.c =====================...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 07/22 -v2] tracer add debugfs interface
This patch adds an interface into debugfs. /debugfs/tracing/ctrl echoing 1 into the ctrl file turns on the tracer, and echoing 0 turns it off. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++- lib/tracing/tracer.h | 1 2 files changed, 87 insertions(+), 1 deletion(-) Index: linux-compile-i386.git/lib/tracing/tracer.c =================================================================== --- li...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 08/22 -v2] mcount tracer output file
Add /debugfs/tracing/trace to output trace output. Here's an example of the content. CPU 0: [<ffffffff80494691>] notifier_call_chain+0x16/0x60 <-- [<ffffffff80494701>] __atomic_notifier_call_chain+0x26/0x56 CPU 0: [<ffffffff802161c8>] mce_idle_callback+0x9/0x2f <-- [<ffffffff804946b3>] notifier_call_chain+0x38/0x60 CPU 0: [<ffffffff8037fb7a>] acpi_processor_idle+0x16/0x518 <-- [<ffffffff8020aee8>] cpu_idle+0xa1/0xe7 CPU 0: [<ffffffff8037fa...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 04/22 -v2] add notrace annotations to vsyscall.
Add the notrace annotations to some of the vsyscall functions. Note: checkpatch errors on the define of vsyscall_fn because it thinks that it is a complex macro that needs paranthesis. Unfortunately we can't put paranthesis on this macro. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/kernel/vsyscall_64.c | 3 ++- arch/x86/vdso/vclock_gettime.c | 15 ++++++++------- arch/x86/vdso/vgetcpu.c | 3 ++- include/asm-x86/vsyscall.h | 3 ++- 4 file...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 17/22 -v2] Add timestamps to tracer
Add timestamps to trace entries. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 16 ++++++++++++++++ lib/tracing/tracer.h | 1 + 2 files changed, 17 insertions(+) Index: linux-compile-i386.git/lib/tracing/tracer.c =================================================================== --- linux-compile-i386.git.orig/lib/tracing/tracer.c 2008-01-09 14:16:05.000000000 -0500 +++ linux-compile-i386.git/lib/tracing/tracer.c 2008-01-09 15:17:27.000000000 -0500 ...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 11/22 -v2] Reset the tracer when started
This patch resets the trace when it is started by the user. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) Index: linux-compile-i386.git/lib/tracing/tracer.c =================================================================== --- linux-compile-i386.git.orig/lib/tracing/tracer.c 2008-01-09 14:14:02.000000000 -0500 +++ linux-compile-i386.git/lib/tracing/tracer.c 2008-01-09 15:17:36.000000000 -0500 @@ -78,...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 05/22 -v2] add notrace annotations for NMI routines
This annotates NMI functions with notrace. Some tracers may be able to live with this, but some cannot. So we turn off NMI tracing. One solution might be to make a notrace_nmi which would only turn off NMI tracing if a trace utility needed it off. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/kernel/nmi_32.c | 2 +- arch/x86/kernel/nmi_64.c | 2 +- arch/x86/kernel/traps_32.c | 4 ++--...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 16/22 -v2] add get_monotonic_cycles
The latency tracer needs a way to get an accurate time without grabbing any locks. Locks themselves might call the latency tracer and cause at best a slow down. This patch adds get_monotonic_cycles that returns cycles from a reliable clock source in a monotonic fashion. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- include/linux/clocksource.h | 3 ++ kernel/time/timekeeping.c | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) Index: l...
Jan 9, 7:29 pm 2008
Steven Rostedt Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 15/22 -v2] initialize the clock source to jiffies...
The latency tracer can call clocksource_read very early in bootup and before the clock source variable has been initialized. This results in a crash at boot up (even before earlyprintk is initialized). Since the clock->read variable points to NULL. This patch simply initializes the clock to use clocksource_jiffies, so that any early user of clocksource_read will not crash. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: John Stultz <johnstul@us.ibm.com> --- include...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 13/22 -v2] handle accurate time keeping over long...
Handle accurate time even if there's a long delay between accumulated clock cycles. Signed-off-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/kernel/vsyscall_64.c | 5 ++- include/asm-x86/vgtod.h | 2 - include/linux/clocksource.h | 58 ++++++++++++++++++++++++++++++++++++++++-- kernel/time/timekeeping.c | 35 +++++++++++++------------ 4 files changed, 80 insertions(+), 20 deletions(-) linux-2.6.21-rc5_c...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 18/22 -v2] Sort trace by timestamp
Now that each entry has a reliable timestamp, we can use the timestamp as the source of sorting the trace and remove the atomic increment. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 3 +-- lib/tracing/tracer.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) Index: linux-compile-i386.git/lib/tracing/tracer.c =================================================================== --- linux-compile-i386.git.orig/lib/tracing/tracer.c 2008-01-09 ...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 03/22 -v2] x86_64: notrace annotations
Add "notrace" annotation to x86_64 specific files. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/kernel/head64.c | 2 +- arch/x86/kernel/setup64.c | 4 ++-- arch/x86/kernel/smpboot_64.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) Index: linux-compile-i386.git/arch/x86/kernel/head64.c =================================================================== --- linux-compile-...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 10/22 -v2] Add a symbol only trace output
The trace output is very verbose with outputing both the IP address (Instruction Pointer not Internet Protocol!) and the kallsyms symbol. So if kallsyms is configured into the kernel, another file is created in the debugfs system. This is the trace_symonly file that leaves out the IP address. Here's an example: CPU 1: swapper:0 smp_apic_timer_interrupt+0xc/0x58 <-- apic_timer_interrupt+0x66/0x70 CPU 1: swapper:0 exit_idle+0x9/0x22 <-- smp_apic_timer_interrupt+0x35/0x58 CPU 0: sshd:2611 _sp...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 14/22 -v2] time keeping add cycle_raw for actual ...
The get_monotonic_cycles needs to produce a monotonic counter as output. This patch adds a cycle_raw to produce an accumulative counter. Unfortunately there is already an cycle_accumulate variable, but that is used to avoid clock source overflow and can also be decremented (probably that name should be changed and we should use that for this patch). Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: John Stultz <johnstul@us.ibm.com> --- include/linux/clocksource.h | ...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 01/22 -v2] Add basic support for gcc profiler ins...
If CONFIG_MCOUNT is selected and /proc/sys/kernel/mcount_enabled is set to a non-zero value the mcount routine will be called everytime we enter a kernel function that is not marked with the "notrace" attribute. The mcount routine will then call a registered function if a function happens to be registered. [This code has been highly hacked by Steven Rostedt, so don't blame Arnaldo for all of this ;-) ] Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Stev...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 06/22 -v2] mcount based trace in the form of a he...
The design is for mcount based tracers to be added thru the lib/tracing/tracer_interface.h file, just like mcount users should add themselves to lib/tracing/mcount.h. A Kconfig rule chooses the right MCOUNT and MCOUNT_TRACER user. This is to avoid function call costs for something that is supposed to be used only in a debug kernel and that has to reduce to the bare minimum the per function call overhead of mcount based tracing. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net&g...
Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 12/22 -v2] separate out the percpu date into a pe...
For better cacheline performance, this patch creates a separate struct for each CPU with the percpu data grouped together. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- lib/tracing/tracer.c | 42 +++++++++++++++++++++++------------------- lib/tracing/tracer.h | 12 ++++++++---- 2 files changed, 31 insertions(+), 23 deletions(-) Index: linux-compile-i386.git/lib/tracing/tracer.c =================================================================== --- linux-compile-i386.git.or...
Jan 9, 7:29 pm 2008
Steven Rostedt Jan 9, 7:29 pm 2008
Steven Rostedt
[RFC PATCH 09/22 -v2] mcount tracer show task comm and pid
This adds the task comm and pid to the trace output. This gives the output like: CPU 0: sshd:2605 [<ffffffff80251858>] remove_wait_queue+0xc/0x4a <-- [<ffffffff802ad7be>] free_poll_entry+0x1e/0x2a CPU 2: bash:2610 [<ffffffff8038c3aa>] tty_check_change+0x9/0xb6 <-- [<ffffffff8038d295>] tty_ioctl+0x59f/0xcdd CPU 0: sshd:2605 [<ffffffff80491ec6>] _spin_lock_irqsave+0xe/0x81 <-- [<ffffffff80251863>] remove_wait_queue+0x17/0x4a CPU 2: bash:2610 [<ffffffff802...
Jan 9, 7:29 pm 2008
David Dillow
CONFIG_NO_HZ breaks blktrace timestamps
While trying to gain some insight into a disk issue, I found that blktrace/blkparse was giving me bogus traces -- I was seeing requests complete before they were even dispatched or queued even! I had thought that maybe this was an issue with SMP on the box, but when running with 'maxcpus=1', it told me that my 53 second test run only took 3.5 seconds. I started tracking this down, and upon looking at cpu_clock(), and found that it uses sched_clock(), which is based on jiffies. At this point I had ...
Jan 9, 6:48 pm 2008
Ondrej Zary
PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236
Hello, as hibernation (swsusp) started to work with my CPU, I found that my Turtle Beach Malibu stops working after resume from hibernation. It's caused by fact that the card is not enabled on the pnp layer during resume - and thus card registers are inaccessible (reads return FFs, writes go nowhere). During resume, pnp_bus_resume() in drivers/pnp/driver.c is called for each pnp device. This function calls pnp_start_dev() only when the PNP_DRIVER_RES_DO_NOT_CHANGE bit is NOT seting pnp_drv-&gt...
Jan 9, 6:43 pm 2008
Andi Kleen
67a385d9ac12e5940989362333b8fa8511e2ec37 in git-x86
ommit 67a385d9ac12e5940989362333b8fa8511e2ec37 Author: Ingo Molnar <mingo@elte.hu> Date: Wed Jan 9 13:31:08 2008 +0100 x86: fix up merge conflict fix up kgdb merge conflict. Signed-off-by: Ingo Molnar <mingo@elte.hu> diff --git a/include/asm-x86/system.h b/include/asm-x86/system.h index d3c225b..72bbaff 100644 --- a/include/asm-x86/system.h +++ b/include/asm-x86/system.h @@ -63,7 +63,9 @@ extern struct task_struct *FASTCALL(__switch_to(struct task_struct...
Jan 9, 6:04 pm 2008
Andi Kleen
STT_FUNC for assembler checksum and semaphore ops" in git-x86
In gitx86: commit 692effca950d7c6032e8e2ae785a32383e7af4a3 Author: John Reiser <jreiser@BitWagon.com> Date: Wed Jan 9 13:31:12 2008 +0100 STT_FUNC for assembler checksum and semaphore ops ... Comments? Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> diff --git a/arch/x86/lib/checksum_32.S b/arch/x86/lib/checksum_32.S index adbccd0..1f9aacb 100644 --- a/arch/x86/lib/checksum_32.S +++ b/arch/x86/lib/ch...
Jan 9, 5:57 pm 2008
David Brownell
[patch 2.6.24-rc7] remove obsolete /sys/devices/.../power/st...
The /sys/devices/.../power/state files have been gone for a while now, but I just noticed some documentation that still refers to them. (Fortunately described as DEPRECATED and WILL REMOVE). Time to remove that obsolete documentation too ... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- Documentation/power/devices.txt | 49 ---------------------------------------- 1 file changed, 49 deletions(-) --- g26.orig/Documentation/power/devices.txt 2008-01-09 12:05:51.00...
Jan 9, 4:12 pm 2008
Rafael J. Wysocki
Re: [patch 2.6.24-rc7] remove obsolete /sys/devices/.../powe...
-- "Premature optimization is the root of all evil." - Donald Knuth --
Jan 9, 5:55 pm 2008
Pavel Machek Jan 9, 6:48 pm 2008
Matthieu castet
Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
Hi, I have some computers where port 0x80 is claimed by 8237A DMA controller [1] But in this case it seems a lasy acpi programmer that doesn't want to convert the hole in 0x80-0x8f range... PS : I post from gmane web interface, so I can't keep CC. [1] This happen with a old 7 years old siemens PIII and a new hp core2duo. state = active io 0x0-0xf io 0x80-0x8f io 0xc0-0xdf dma 4 --
Jan 9, 5:01 pm 2008
Miklos Szeredi
uml and -regparm=3
FASTCALL is defined empty in -mm, but UML is not compiled with -mregparm=3 and so this breaks things (I noticed problems with rwsem_down_write_failed). Tried recompiling UML with -mregparm=3, but that resulted in a strange failure immediately after startup: |%G�%@: Invalid argument What's up? Miklos --
Jan 9, 5:01 pm 2008
linux-os (Dick Johnson)
Re: uml and -regparm=3
UML gets linked with the 'C' runtime library. It doesn't pass parameters in registers unless you get the source and recompile the whole thing --and then you would have to recompile all your applications, too. Yikes! Cheers, Dick Johnson Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips). My book : http://www.AbominableFirebug.com/ _ **************************************************************** The information transmitted in this message is confidential and may be p...
Jan 9, 6:01 pm 2008
Andi Kleen
Re: uml and -regparm=3
UML links with glibc and that does not use -mregparm. You can only use -mregparm in user space if you recompile all libraries too. -Andi --
Jan 9, 5:12 pm 2008
Miklos Szeredi
Re: uml and -regparm=3
Ah, right. I didn't think of that. Does that mean that FASTCALL removals will have to be undone? Or is there an alternative? Miklos --
Jan 9, 5:20 pm 2008
Adrian Bunk
Re: uml and -regparm=3
It's enough when we keep fastcall/FASTCALL in the few cases where UML cu Adrian [1] http://lkml.org/lkml/2007/12/4/425 -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Jan 9, 5:33 pm 2008
Andi Kleen
Re: uml and -regparm=3
FASTCALL is useless and should not make a difference. It enables regparm on specific functions, but that should not make a difference if it works or not. For working -mregparm you will need asmlinkage on all functions that interface with assembler code to disable regparms for them. The only exception is system calls which have the arguments on the stack too. -Andi --
Jan 9, 5:32 pm 2008
Miklos Szeredi
Re: uml and -regparm=3
__down_write() in include/asm-x86/rwsem.h seems to assume, that the semaphore pointer is passed in %eax down to rwsem_down_write_failed(), so regparm does make a difference there. There's also some intervening magic in arch/x86/lib/semaphore_32.S, that I don't quite understand, but which doesn't seem to make a difference. Miklos --
Jan 9, 5:50 pm 2008
Mariusz Kozlowski
sparc64: ultra 60 fails to boot with 64kB pages
Hello, I found this kconfig info on kernel page size: '8KB and 64KB work quite well, since Sparc ELF sections provide for up to 64KB alignment.' so I thought I'll give it a try. I tested 2.6.24-rc7 and it stopped right after 'Remapping the kernel ... done' At first I wanted to bisect this but soon I found there is no kernel that boots with 64k pages on that machine. I tested 2.6.24-rc7, 2.6.23, 2.6.22, 2.6.20 and 2.6.16. 2.6.24-rc7 dies right after 'Remapping the kernel ... done' text. So ...
Jan 9, 3:14 pm 2008
David Miller
Re: sparc64: ultra 60 fails to boot with 64kB pages
From: Mariusz Kozlowski <m.kozlowski@tuxland.pl> I know that non-8K page sizes are broken but haven't had time to go fix it, sorry. --
Jan 9, 7:16 pm 2008
Greg Kroah-Hartman
Linux 2.6.23.13
We (the -stable team) are announcing the release of the 2.6.23.13 kernel. It contains one serious fix for the w83627ehf.c hardware monitoring driver. If you use this driver, PLEASE, upgrade to this kernel version. To quote the developer, Jean Delvare: I have had a private report that this bug might have caused permanent hardware damage. There is no definitive proof at this point, but unfortunately due to the lack of documentation I really can't rule it out. This problem only affects the 2.6.23 ...
Jan 9, 1:44 pm 2008
Greg Kroah-Hartman
Re: Linux 2.6.23.13
diff --git a/Makefile b/Makefile index 96c3f02..55edf2f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 23 -EXTRAVERSION = .12 +EXTRAVERSION = .13 NAME = Arr Matey! A Hairy Bilge Rat! # *DOCUMENTATION* diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index d9a9ec7..bfd8828 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c @@ -1276,23 +1276,31 @@ static int __devinit w83627ehf_probe(struct platform_devic...
Jan 9, 1:44 pm 2008
Dmitry Baryshkov
[PATCH] pda_power: add device_init_wakeup
Add device_init_wakeup to init wakeup. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c index d98622f..28360e8 100644 --- a/drivers/power/pda_power.c +++ b/drivers/power/pda_power.c @@ -207,6 +207,8 @@ static int pda_power_probe(struct platform_device *pdev) } } + device_init_wakeup(&pdev->dev, 1); + return 0; usb_irq_failed: -- With best wishes Dmitry --
Jan 9, 12:39 pm 2008
Pierre Peiffer
[-mm] new warning in ipc/msg.c
Hi, This very small patch: ipc-convert-handmade-min-to-min.patch introduces a new warning when compiling the -mm kernel: .../linux-2.6.24-rc6-mm1/ipc/msg.c: In function `do_msgrcv': .../linux-2.6.24-rc6-mm1/ipc/msg.c:939: warning: comparison of distinct pointer types lacks a cast I don't know if doing in include/linux/msg.h struct msg_msg { struct list_head m_list; long m_type; - int m_ts; /* message text size */ + size_t m_ts; /* message text size */ struct ...
Jan 9, 11:42 am 2008
Andrew Morton
Re: [-mm] new warning in ipc/msg.c
On Wed, 09 Jan 2008 16:42:34 +0100 Thanks. I think I'll drop the original patch. The mix of ints, size_t's, etc in that code is pretty random and would be best addressed by somene sitting down and working out from scratch what types we _should_ be using in there and then making all the code use the right types in an organised fashion. Doing this in a piecemeal through-a-pinhole fashion won't work very well and is a bit risky. --
Jan 9, 7:13 pm 2008
Folkert van Heusden
[RS232] setting trigger-level of fifo
Hi, In windows one can configure at what point the uart will trigger an interrupt. E.g. 1, 4, 8 or 14 bytes received. Setserial doesn't let you and I saw in the sources of the serial driver no hint that it is supported in linux at all. Also in MAINTAINERS I saw that sreial is orphaned. Can someone tell how I can proceed with this? Is it at all possible to do this setting? Folkert van Heusden -- Multi tail barnamaj mowahib li mora9abat attasjilat wa nataij awamir al 7asoub. damj, talwin, ...
Jan 9, 11:32 am 2008
previous daytodaynext day
January 8, 2008January 9, 2008January 10, 2008