Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-04-11 Thread Miaohe Lin
On 2021/3/30 15:27, Yu Zhao wrote: > On Tue, Mar 30, 2021 at 12:57 AM Huang, Ying wrote: >> >> Yu Zhao writes: >> >>> On Mon, Mar 29, 2021 at 9:44 PM Huang, Ying wrote: Miaohe Lin writes: > On 2021/3/30 9:57, Huang, Ying wrote: >> Hi, Miaohe, >> >> Miaohe Lin wri

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-30 Thread Miaohe Lin
On 2021/3/30 11:44, Huang, Ying wrote: > Miaohe Lin writes: > >> On 2021/3/30 9:57, Huang, Ying wrote: >>> Hi, Miaohe, >>> >>> Miaohe Lin writes: >>> Hi all, I am investigating the swap code, and I found the below possible race window: CPU 1

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Huang, Ying
Yu Zhao writes: > On Mon, Mar 29, 2021 at 9:44 PM Huang, Ying wrote: >> >> Miaohe Lin writes: >> >> > On 2021/3/30 9:57, Huang, Ying wrote: >> >> Hi, Miaohe, >> >> >> >> Miaohe Lin writes: >> >> >> >>> Hi all, >> >>> I am investigating the swap code, and I found the below possible race >> >>>

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Yu Zhao
On Mon, Mar 29, 2021 at 9:44 PM Huang, Ying wrote: > > Miaohe Lin writes: > > > On 2021/3/30 9:57, Huang, Ying wrote: > >> Hi, Miaohe, > >> > >> Miaohe Lin writes: > >> > >>> Hi all, > >>> I am investigating the swap code, and I found the below possible race > >>> window: > >>> > >>> CPU 1

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Huang, Ying
Miaohe Lin writes: > On 2021/3/30 9:57, Huang, Ying wrote: >> Hi, Miaohe, >> >> Miaohe Lin writes: >> >>> Hi all, >>> I am investigating the swap code, and I found the below possible race >>> window: >>> >>> CPU 1 CPU 2 >>> -

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Miaohe Lin
On 2021/3/30 9:57, Huang, Ying wrote: > Hi, Miaohe, > > Miaohe Lin writes: > >> Hi all, >> I am investigating the swap code, and I found the below possible race window: >> >> CPU 1CPU 2 >> -

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Huang, Ying
Hi, Miaohe, Miaohe Lin writes: > Hi all, > I am investigating the swap code, and I found the below possible race window: > > CPU 1 CPU 2 > - - > do_swap_page > skip swapcache case (synchrono

[Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Miaohe Lin
Hi all, I am investigating the swap code, and I found the below possible race window: CPU 1 CPU 2 - - do_swap_page skip swapcache case (synchronous swap_readpage) alloc_page_vma

Re: Is there a reason not to use -@ to compile devicetrees ?

2021-01-04 Thread Rob Herring
On Mon, Dec 21, 2020 at 7:47 AM Vincent Pelletier wrote: > > Hello, > > Distro: https://raspi.debian.net/ (sid) > Hardware: Raspberry Pi Zero W > Kernel version: 5.9.11 (linux-image-5.9.0-4-rpi) > > To access a device connected to my pi, I need the spi0 bus, and would > like to not be doing GPIO b

Re: Is there a reason not to use -@ to compile devicetrees ?

2021-01-04 Thread Vincent Pelletier
Ping ? On Mon, 21 Dec 2020 14:47:07 +, Vincent Pelletier wrote: > Distro: https://raspi.debian.net/ (sid) > Hardware: Raspberry Pi Zero W > Kernel version: 5.9.11 (linux-image-5.9.0-4-rpi) > > To access a device connected to my pi, I need the spi0 bus, and would > like to not be doing GPIO

Is there a reason not to use -@ to compile devicetrees ?

2020-12-21 Thread Vincent Pelletier
Hello, Distro: https://raspi.debian.net/ (sid) Hardware: Raspberry Pi Zero W Kernel version: 5.9.11 (linux-image-5.9.0-4-rpi) To access a device connected to my pi, I need the spi0 bus, and would like to not be doing GPIO bit-banging when there are perfectly good spi modules capable of using the

RE: [BUG]is there a refcount leak in function mei_me_cl_rm_by_uuid?

2020-05-07 Thread Winkler, Tomas
> -Original Message- > From: 亿一 > Sent: Wednesday, May 06, 2020 17:47 > To: Winkler, Tomas > Cc: linux-kernel@vger.kernel.org > Subject: [BUG]is there a refcount leak in function mei_me_cl_rm_by_uuid? Unfortunately you are correct, but currently it is very hard to

[BUG]is there a refcount leak in function mei_me_cl_rm_by_uuid?

2020-05-06 Thread 亿一
HI, all When reviewing function mei_me_cl_rm_by_uuid, I notice that function __mei_me_cl_by_uuid increases me_cl refcount and function _mei_me_cl_del delete a list node with decrement me_cl refcount , actually here cause a refcount leak as we haven't release the refcount by __mei_me_cl_by_uuid ? s

Re: Is there a race between __mod_timer() and del_timer()?

2017-11-08 Thread Linus Torvalds
On Wed, Nov 8, 2017 at 2:15 AM, David Howells wrote: > > (2) Set timer->expires to jiffies in del_timer() - but since there's nothing > preventing the optimisation in __mod_timer() from occurring concurrently > with del_timer(), this probably won't help. Right. The "race" is fundamenta

Re: Is there a race between __mod_timer() and del_timer()?

2017-11-08 Thread Thomas Gleixner
On Wed, 8 Nov 2017, David Howells wrote: > Is there a race between the optimisation for networking code in __mod_timer() > and del_timer() - or, at least, a race that matters? > > Consider: > > CPU A

Re: Is there a race between __mod_timer() and del_timer()?

2017-11-08 Thread David Howells
David Howells wrote: > I think it might just be best to put a note in the comments in __mod_timer(). How about the attached? David --- commit d538c734f9bf885292b88a81a06c5efee528d70d Author: David Howells Date: Wed Nov 8 10:20:27 2017 + Add a comment into __mod_timer() noting a poss

Is there a race between __mod_timer() and del_timer()?

2017-11-08 Thread David Howells
Is there a race between the optimisation for networking code in __mod_timer() and del_timer() - or, at least, a race that matters? Consider: CPU A CPU B === === [timer X is active

Data shows that drastic weight loss is dangerous ?is there a way out?

2017-08-30 Thread tmarguin
Looking to lose weight fast in a healthy way? While it may be very tempting to turn to diet aid solutions that promise awesome weight loss, it's also important to be cautious about your health. Recent data show that most diet medicines, drinks and "organic" formulas are capable of causing a range

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-30 Thread Namhyung Kim
On Wed, Jun 29, 2016 at 09:52:31AM +0900, Namhyung Kim wrote: > Hi Steve, > > On Tue, Jun 28, 2016 at 09:57:27AM -0400, Steven Rostedt wrote: > > On Tue, 28 Jun 2016 15:33:18 +0900 > > Namhyung Kim wrote: > > > > > Send again to correct addresses, sorry! > > > > > > On Tue, Jun 28, 2016 at 3:25

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-30 Thread Namhyung Kim
Hi Steve, On Tue, Jun 28, 2016 at 09:26:52PM -0400, Steven Rostedt wrote: > On Wed, 29 Jun 2016 09:57:41 +0900 > Minchan Kim wrote: > > > Hello, > > > > On Tue, Jun 28, 2016 at 06:46:34PM +0200, Rabin Vincent wrote: > > > On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote: > > > > O

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Namhyung Kim
Hello, On Tue, Jun 28, 2016 at 06:46:34PM +0200, Rabin Vincent wrote: > On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote: > > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > > > I'm running some guest machines for kernel development. For debugging > > > purpose, I use lots of

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Steven Rostedt
On Wed, 29 Jun 2016 09:57:41 +0900 Minchan Kim wrote: > Hello, > > On Tue, Jun 28, 2016 at 06:46:34PM +0200, Rabin Vincent wrote: > > On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote: > > > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim > > > wrote: > > > > I'm running some gues

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Minchan Kim
Hello, On Tue, Jun 28, 2016 at 06:46:34PM +0200, Rabin Vincent wrote: > On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote: > > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > > > I'm running some guest machines for kernel development. For debugging > > > purpose, I use lots of

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Namhyung Kim
Hi Steve, On Tue, Jun 28, 2016 at 09:57:27AM -0400, Steven Rostedt wrote: > On Tue, 28 Jun 2016 15:33:18 +0900 > Namhyung Kim wrote: > > > Send again to correct addresses, sorry! > > > > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > > > Hello, > > > > > > I'm running some guest machin

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Rabin Vincent
On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote: > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > > I'm running some guest machines for kernel development. For debugging > > purpose, I use lots of trace_printk() since it's faster than normal > > printk(). When kernel crash h

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-28 Thread Steven Rostedt
On Tue, 28 Jun 2016 15:33:18 +0900 Namhyung Kim wrote: > Send again to correct addresses, sorry! > > On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > > Hello, > > > > I'm running some guest machines for kernel development. For debugging > > purpose, I use lots of trace_printk() since it'

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-27 Thread Namhyung Kim
Send again to correct addresses, sorry! On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > Hello, > > I'm running some guest machines for kernel development. For debugging > purpose, I use lots of trace_printk() since it's faster than normal > printk(). When kernel crash happens the trace b

is there a central index of subsystem- & cross-border - issues with progress on these ?

2014-04-13 Thread Winston Graeme
hi kernel-developers _ from recent coverage of the LSFMM-Summit on LWN.net, i again got the impression that there are performance- & behaviour - issues, that persistently don´t seem to get resolved & stay around for the next summit. Additionally many things come to light at such meetings of d

Re: Is there a notification mechanism for enabled/disabled trace events?

2013-11-09 Thread Alexandre Courbot
Hi Steven, thanks for your reply! On Thu, Nov 7, 2013 at 11:04 PM, Steven Rostedt wrote: > On Thu, 7 Nov 2013 17:42:54 +0900 > Alexandre Courbot wrote: > >> Hi everyone, >> >> Trace events can be enabled through debugfs by e.g. writing '1' into >> their enable node. This is a very useful feature

Re: Is there a notification mechanism for enabled/disabled trace events?

2013-11-07 Thread Steven Rostedt
On Thu, 7 Nov 2013 17:42:54 +0900 Alexandre Courbot wrote: > Hi everyone, > > Trace events can be enabled through debugfs by e.g. writing '1' into > their enable node. This is a very useful feature as some tracing > functions can introduce overhead and we only want them active when > needed. >

Is there a notification mechanism for enabled/disabled trace events?

2013-11-07 Thread Alexandre Courbot
Hi everyone, Trace events can be enabled through debugfs by e.g. writing '1' into their enable node. This is a very useful feature as some tracing functions can introduce overhead and we only want them active when needed. There is one additional thing that I would need though, which is to be noti

Re: SLIP: Is there a maintainer for drivers/net/slip/slip.c ?

2013-06-24 Thread Dean Jenkins
Hi Peter, On 24/06/13 14:53, Peter Hurley wrote: On 06/24/2013 04:27 AM, Dean Jenkins wrote: Hi, Using the Linux v3.9 tag, I note that ./scripts/get_maintainer.pl -f drivers/net/slip/slip.c net...@vger.kernel.org (open list:NETWORKING DRIVERS) linux-kernel@vger.kernel.org (open list) There s

Re: SLIP: Is there a maintainer for drivers/net/slip/slip.c ?

2013-06-24 Thread Peter Hurley
On 06/24/2013 04:27 AM, Dean Jenkins wrote: Hi, Using the Linux v3.9 tag, I note that ./scripts/get_maintainer.pl -f drivers/net/slip/slip.c net...@vger.kernel.org (open list:NETWORKING DRIVERS) linux-kernel@vger.kernel.org (open list) There seems to be no maintainer for drivers/net/slip/slip.

Re: SLIP: Is there a maintainer for drivers/net/slip/slip.c ?

2013-06-24 Thread Geert Uytterhoeven
On Mon, Jun 24, 2013 at 10:27 AM, Dean Jenkins wrote: > Using the Linux v3.9 tag, I note that > > ./scripts/get_maintainer.pl -f drivers/net/slip/slip.c > net...@vger.kernel.org (open list:NETWORKING DRIVERS) > linux-kernel@vger.kernel.org (open list) > > There seems to be no maintainer for driver

SLIP: Is there a maintainer for drivers/net/slip/slip.c ?

2013-06-24 Thread Dean Jenkins
Hi, Using the Linux v3.9 tag, I note that ./scripts/get_maintainer.pl -f drivers/net/slip/slip.c net...@vger.kernel.org (open list:NETWORKING DRIVERS) linux-kernel@vger.kernel.org (open list) There seems to be no maintainer for drivers/net/slip/slip.c, is that true ? I am asking because sl_enc

Re: Is there a memory block device?

2008-02-26 Thread Sven-Haegar Koch
On Tue, 26 Feb 2008, rzryyvzy wrote: > I know that tmpfs is a memmory filesystem. Is there a possibility to > create also a memory block device? > Is there a possibility to create for example a 1 GB memory block device > (from the RAM)? There are the /dev/ram* devices, created th

Re: Is there a memory block device?

2008-02-26 Thread Valdis . Kletnieks
On Tue, 26 Feb 2008 19:53:36 +0100, rzryyvzy said: > I know that tmpfs is a memmory filesystem. Is there a possibility to create > also a memory block device? > Is there a possibility to create for example a 1 GB memory block device (from > the RAM)? A better question would be:

Is there a memory block device?

2008-02-26 Thread rzryyvzy
I know that tmpfs is a memmory filesystem. Is there a possibility to create also a memory block device? Is there a possibility to create for example a 1 GB memory block device (from the RAM)? -- E-Mail sent with anti-spam site TrashMail.net! Free disposable email addresses: http

Re: Is there a "blackhole" /dev/null directory?

2008-02-15 Thread Bill Davidsen
Jan Engelhardt wrote: On Feb 14 2008 10:46, Andi Kleen wrote: Jasper Bryant-Greene <[EMAIL PROTECTED]> writes: This could be done fairly trivially with FUSE, and IMHO is a good use for FUSE because since you're just throwing most data away, performance is not a concern. There is a much more i

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Bodo Eggert
Hans-Jürgen Koch <[EMAIL PROTECTED]> wrote: > schrieb Jan Engelhardt <[EMAIL PROTECTED]>: >> There is a much more interesting 'problem' with a "/dev/null >> directory". >> >> Q: Why would you need such a directory? >> A: To temporarily fool a program into believing it wrote something. >> >> Q: S

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Bodo Eggert
rzryyvzy <[EMAIL PROTECTED]> wrote: > /dev/null is often very useful, specially if programs force to save data in > some file. But some programs like to creates different temporary file names, > so /dev/null could no more work. > > What is with a "/dev/null"-directory? > I mean a "blackhole pseud

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Hans-Jürgen Koch
Am Thu, 14 Feb 2008 16:23:37 +0100 (CET) schrieb Jan Engelhardt <[EMAIL PROTECTED]>: > > On Feb 14 2008 16:19, Hans-Jürgen Koch wrote: > >> > >> Q: What if a program attempts to mkdir /dev/nullmnt/foo to just > >>create a file /dev/nullmnt/foo/barfile? > >> A: /dev/nullmnt/foo must continue

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Jan Engelhardt
On Feb 14 2008 16:19, Hans-Jürgen Koch wrote: >> >> Q: What if a program attempts to mkdir /dev/nullmnt/foo to just >>create a file /dev/nullmnt/foo/barfile? >> A: /dev/nullmnt/foo must continue to exist or be accepted for a while, >>or perhaps for eternity. > >Well, the problem seems to

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Hans-Jürgen Koch
Am Thu, 14 Feb 2008 16:00:06 +0100 (CET) schrieb Jan Engelhardt <[EMAIL PROTECTED]>: > > On Feb 14 2008 10:46, Andi Kleen wrote: > >Jasper Bryant-Greene <[EMAIL PROTECTED]> writes: > >> > >> This could be done fairly trivially with FUSE, and IMHO is a good > >> use for FUSE because since you're j

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread linux-os (Dick Johnson)
On Thu, 14 Feb 2008, Mika Lawando wrote: > Jasper Bryant-Greene schrieb: >> On Thu, 2008-02-14 at 10:30 +0100, rzryyvzy wrote: >> >>> /dev/null is often very useful, specially if programs force to save data in >>> some file. But some programs like to creates different temporary file >>> names,

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Jan Engelhardt
On Feb 14 2008 10:46, Andi Kleen wrote: >Jasper Bryant-Greene <[EMAIL PROTECTED]> writes: >> >> This could be done fairly trivially with FUSE, and IMHO is a good use >> for FUSE because since you're just throwing most data away, performance >> is not a concern. There is a much more interesting 'p

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Mika Lawando
Jasper Bryant-Greene schrieb: On Thu, 2008-02-14 at 10:30 +0100, rzryyvzy wrote: /dev/null is often very useful, specially if programs force to save data in some file. But some programs like to creates different temporary file names, so /dev/null could no more work. What is with a "/dev/nu

Re: Is there a

2008-02-14 Thread Mika Lawando
Tom Van Looy schrieb: You can create a symlink to /dev/null and name it whatever you want? $ ln -s /dev/null tempfile $ echo blablabla > tempfile $ wc tempfile 0 tempfile The problem is, what do you do if the filename would be: tempfile. where is replaced by the unix timestamp. I mean how

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Andi Kleen
Jasper Bryant-Greene <[EMAIL PROTECTED]> writes: > > This could be done fairly trivially with FUSE, and IMHO is a good use > for FUSE because since you're just throwing most data away, performance > is not a concern. Q.: how much work would fuse have to do until the user file system server could d

Re: Is there a

2008-02-14 Thread Tom Van Looy
>Aan: linux-kernel@vger.kernel.org >Onderwerp: Is there a "blackhole" /dev/null directory? > >Hello Linux Kernel Hackers, > >/dev/null is often very useful, specially if programs force to save data in >some file. But some programs like to creates different temporary fi

Re: Is there a "blackhole" /dev/null directory?

2008-02-14 Thread Jasper Bryant-Greene
On Thu, 2008-02-14 at 10:30 +0100, rzryyvzy wrote: > /dev/null is often very useful, specially if programs force to save data in > some file. But some programs like to creates different temporary file names, > so /dev/null could no more work. > > What is with a "/dev/null"-directory? > I mean a

Is there a "blackhole" /dev/null directory?

2008-02-14 Thread rzryyvzy
Hello Linux Kernel Hackers, /dev/null is often very useful, specially if programs force to save data in some file. But some programs like to creates different temporary file names, so /dev/null could no more work. What is with a "/dev/null"-directory? I mean a "blackhole pseudo directory"

Re: Is there a linux-serial mail list?

2007-07-22 Thread Randy Dunlap
On Sun, 22 Jul 2007 22:53:48 +0800 jidong xiao wrote: > and how to subscribe it? > > Thanks > Jason Xiao It's all here: http://vger.kernel.org/vger-lists.html#linux-serial --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** - To unsubscribe from this list: s

Is there a linux-serial mail list?

2007-07-22 Thread jidong xiao
and how to subscribe it? Thanks Jason Xiao - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: is there a linux running on jvm arch ?

2001-06-20 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Alan Cox <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > The JVM is very very bad from a C language point of view. You can convert C > code to it and there have been some very experimental demos of this. However > it is a very non trivial pro

Re: is there a linux running on jvm arch ?

2001-06-20 Thread Alan Cox
> I 've tested the User Mode Linux a few times ago, and it gave me an > idea: given the fact that we had a GCC which > produce bytecode from C, it would be possible to produce a port of > linux(a new directory "jvm" in the arch dir) which > would run in a Java Virtual Machine. (after some inquir

RE: is there a linux running on jvm arch ?

2001-06-20 Thread Holzrichter, Bruce
>I 've tested the User Mode Linux a few times ago, and it gave me an >idea: given the fact that we had a GCC which >produce bytecode from C, it would be possible to produce a port of >linux(a new directory "jvm" in the arch dir) which >would run in a Java Virtual Machine. (after some inquiries

is there a linux running on jvm arch ?

2001-06-20 Thread FORT David
I 've tested the User Mode Linux a few times ago, and it gave me an idea: given the fact that we had a GCC which produce bytecode from C, it would be possible to produce a port of linux(a new directory "jvm" in the arch dir) which would run in a Java Virtual Machine. (after some inquiries such c

Re: is there a way to export a fat32 file system using nfs? - YES!

2001-06-14 Thread Neil Brown
On Wednesday June 13, [EMAIL PROTECTED] wrote: > > I might just do that first step (find_ino) and offer it as as an > experimental patch to the growing number of people who have asked for > nfs exporting of FAT filesystems, and see how reliable it is in > practice. Following is a patch against 2

Re: is there a way to export a fat32 file system using nfs?

2001-06-12 Thread Neil Brown
On Tuesday June 12, [EMAIL PROTECTED] wrote: > > > On Wed, 13 Jun 2001, Neil Brown wrote: > > >Call fat_iget(i_location). > > If this finds something, check i_logstart. > > If it matches, assume SUCCESS. > > > >Then comes the tricky bit: read the directory entry > > indic

Re: is there a way to export a fat32 file system using nfs?

2001-06-12 Thread Alexander Viro
On Wed, 13 Jun 2001, Neil Brown wrote: >Call fat_iget(i_location). > If this finds something, check i_logstart. > If it matches, assume SUCCESS. > >Then comes the tricky bit: read the directory entry > indicated by i_location, check the i_logstart is right, > if it is

Re: is there a way to export a fat32 file system using nfs?

2001-06-12 Thread Neil Brown
On Tuesday June 12, [EMAIL PROTECTED] wrote: > Hi. I seem to remember that at one time in the 2.2 series I was able > to to export fat32 file systems using nfs, but now it doesn't work > anymore. No, it doesn't. It did in early 2.2 due to some fairly ugly hacks which just had to go. They work

is there a way to export a fat32 file system using nfs?

2001-06-12 Thread John Covici
Hi. I seem to remember that at one time in the 2.2 series I was able to to export fat32 file systems using nfs, but now it doesn't work anymore. If I remember correctly, I get "get: operation not permitted" when trying to export the directory in question. I am using 2.4.5. Any assistance woul

Re: Is there a way to turn file caching off ?

2001-04-19 Thread John Lenton
On Thu, Apr 19, 2001 at 10:21:14AM +0200, Helge Hafting wrote: > A program may know its own access pattern, but it don't usually know > future access patterns. Well, backing up the entire fs could benefit > from a something like this, you probably won't need the backup again > soon. But this is

Re: Is there a way to turn file caching off ?

2001-04-19 Thread Jeremy Jackson
Helge Hafting wrote: > Jeremy Jackson wrote: > > > currently all the kernel's heuristics are feed-back control loops. > > what you are asking for is a feed-forward system: a way for the application > > to tell kernel "I'm only reading this once, so after I'm done, throw it out > > straight away"

Re: Is there a way to turn file caching off ?

2001-04-19 Thread Helge Hafting
Jeremy Jackson wrote: > currently all the kernel's heuristics are feed-back control loops. > what you are asking for is a feed-forward system: a way for the application > to tell kernel "I'm only reading this once, so after I'm done, throw it out > straight away" > and "I'm only writing this data

Re: Is there a way to turn file caching off ?

2001-04-18 Thread Andrea Arcangeli
On Wed, Apr 18, 2001 at 11:21:46AM -0700, David Schwartz wrote: > > > [..] If we assume the caching isn't helping [..] If you know kernel data cache doesn't help your workload at all then you want use O_DIRECT at least to save the CPU. You can run 2.4.4pre3aa3 or apply the rawio-3 patch

RE: Is there a way to turn file caching off ?

2001-04-18 Thread David Schwartz
ond) that avoiding a ferw primary cache misses per IO isn't likely to make any measurable difference. DS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Laurent Chavet Sent: Wednesday, April 18, 2001 1:21 AM To: David Schwartz Cc: [EMAIL PROTECTED

Re: Is there a way to turn file caching off ?

2001-04-18 Thread Jeremy Jackson
Bjorn Wesen wrote: > A similar phenomenon happens when you simply copy a file - file A is read > into the cache and file B is written to the cache, until the memory runs > out. Then both start to flush at the same time, creating a horrible in this example only file B needs uses IO when being flu

Re: Is there a way to turn file caching off ?

2001-04-18 Thread Bjorn Wesen
A similar phenomenon happens when you simply copy a file - file A is read into the cache and file B is written to the cache, until the memory runs out. Then both start to flush at the same time, creating a horrible performance hit (especially if A and B are on the same disk :) I don't know a way

RE: Is there a way to turn file caching off ?

2001-04-17 Thread David Schwartz
> Is there a way to turn file caching off, or at least limit its size ? > > Thanks, > > Laurent Chavet What benefit do you think you would get by limiting its size? All that would do is ensure you hit the cache thrashing point sooner. DS - To unsubscribe from

Is there a way to turn file caching off ?

2001-04-17 Thread Laurent Chavet
system time (more than a CPU) used by bdflush and kswapd (and some others like kupdated). Of course my real application doesn't go from /dev/zero to file but it still only does sequential access, and it seems that I pay a high price for the file caching when I'm not using it at all.

Re: Is there a Crystal 4299 sound driver?

2001-01-19 Thread Bill Nottingham
Torrey Hoffman ([EMAIL PROTECTED]) said: > Here's an lspci -v dump. The machine is a set top box, pretty much a > standard PC, but with hardware parts that are rarely seen in normal > desktops. (The graphics card, ethernet card, and MPEG decoder chip > all required non-standard Linux and X 4.0

RE: Is there a Crystal 4299 sound driver?

2001-01-19 Thread Torrey Hoffman
Bill Nottingham said: >Torrey Hoffman ([EMAIL PROTECTED]) said: >> Does anyone know of a driver for the Crystal 4299 sound chip? > >It's not something there's one particular sound driver for (it's just >an ac97 codec chip, as you saw). Most likely you want to use something >like the i810_audio

Re: Is there a Crystal 4299 sound driver?

2001-01-18 Thread Bill Nottingham
Torrey Hoffman ([EMAIL PROTECTED]) said: > Does anyone know of a driver for the Crystal 4299 sound chip? It's not something there's one particular sound driver for (it's just an ac97 codec chip, as you saw). Most likely you want to use something like the i810_audio or via82cxxx_audio drivers. Wh

Is there a Crystal 4299 sound driver?

2001-01-18 Thread Torrey Hoffman
Does anyone know of a driver for the Crystal 4299 sound chip? I grepped through /drivers/sound in both 2.2.18 and 2.4.0. The only hints were that "ac97_codec.c" has two codec id's listed for it. >From old changelogs I see that Mulder Tjeerd was involved in adding those... perhaps he is writing

Is there a devfs patch for 2.2.18?

2000-12-18 Thread Tri D. Hoang
Hi, Is there a devfs patch for 2.2.18 or how do I get devfs to work with 2.2.18? Tri [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Is there a Linux trademark issue with sun?

2000-12-16 Thread David Wragg
Rob Landley <[EMAIL PROTECTED]> writes: > Remember, Linux uses > Posix (although we don't SAY posix much because that's > another trademark and nobody jumps through the hoops > to re-test each new conbination of kernel version X > with utility set Y). POSIX is not a trademark. The name refers to

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rob Landley
> I am not sure it is a big deal. If you read the > comment it was more of an off-the-cuff remark. > > I doubt anyone would testify in court that McNealy > said this. The only way it is something to worry > about is if they used it in a printed format (IANAL) Law isn't an all-or-nothing thing.

Re: [OT] Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rob Landley
--- Dana Lacoste <[EMAIL PROTECTED]> wrote: > I don't think he did that at all : > (Devil's Advocate time :) Always a fun occupation. :) > What he did was say that, while everyone was looking > at Linux as the solution to modern computing > problems, > he didn't need to : he already has Solaris.

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Kevin A. Burton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob Landley <[EMAIL PROTECTED]> writes: > Heads up everybody. Scott McNealy has apparently been > calling Solaris Sun's implementation of Linux. > Trademark violation time. Yeah... isn't he a moron :) > Assuming the quote is accurate (which, bei

[OT] Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Dana Lacoste
Rob Landley wrote : > Sun feels that their core product, Solaris, is > threatened by Linux. They have several options: > A) Jump on board and use Linux on their hardware. > B) Improve Solaris until it can compete on its own > merits. > C) Market Solaris better, to make people want Solaris > inst

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rob Landley
--- Larry McVoy <[EMAIL PROTECTED]> wrote: > Yup, that's Scooter (all the Sun old timers call him > Scooter, I dunno where > it came from, I wasn't enough of an old timer). > And, yeah, he does a lot > of marketing. But in many respects, he's the > perfect CEO. He's always > out in public, pu

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rob Landley
--- Rik van Riel <[EMAIL PROTECTED]> wrote: > On Thu, 14 Dec 2000, Rob Landley wrote: > > >people just don't get it, do you? All Linux > > >applications run on Solaris, which is our > > >implementation of Linux. Now ask the question > again," > > I wouldn't worry about this. It's only a quest

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rob Landley
--- "Jon 'maddog' Hall, Executive Director, Linux International" <[EMAIL PROTECTED]> wrote: > [Warning: Highly controversial topic ahead. > Messenger does not want to be shot] Aw come on, it's traditional. :) > This does bring up an interesting situation. > > The Linux community keeps saying t

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Larry McVoy
On Fri, Dec 15, 2000 at 08:15:41PM +0100, Igmar Palsenberg wrote: > > > On Fri, Dec 15, 2000 at 12:54:21PM +0100, Igmar Palsenberg wrote: > > > > > > > Heads up everybody. Scott McNealy has apparently been > > > > calling Solaris Sun's implementation of Linux. > > > > Trademark violation time.

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Igmar Palsenberg
> On Fri, Dec 15, 2000 at 12:54:21PM +0100, Igmar Palsenberg wrote: > > > > > Heads up everybody. Scott McNealy has apparently been > > > calling Solaris Sun's implementation of Linux. > > > Trademark violation time. > > > > It's probably a marketing guy that has no idea about what he is talk

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Igmar Palsenberg
> > >When asked by a reporter why Sun's new clustering > > >software was restricted to Solaris and not available > > >on Linux, McNealy's aggravation seemed to peak. "You > > >people just don't get it, do you? All Linux > > >applications run on Solaris, which is our > > >implementation of Lin

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread David Weinehall
On Fri, Dec 15, 2000 at 12:54:21PM +0100, Igmar Palsenberg wrote: > > > Heads up everybody. Scott McNealy has apparently been > > calling Solaris Sun's implementation of Linux. > > Trademark violation time. > > It's probably a marketing guy that has no idea about what he is talking > about. I'

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Rik van Riel
On Thu, 14 Dec 2000, Rob Landley wrote: > Heads up everybody. Scott McNealy has apparently been > calling Solaris Sun's implementation of Linux. > Trademark violation time. > > The article's here: > > http://linuxtoday.com/news_story.php3?ltsn=2000-12-14-020-04-NW-CY > > Quick quote: > > >W

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Jon 'maddog' Hall, Executive Director, Linux International
[Warning: Highly controversial topic ahead. Messenger does not want to be shot] This does bring up an interesting situation. The Linux community keeps saying that "Linux is a re-implementation of Unix." This gets X/Open all pissed off at us, because Linux has not passed the qualification test

Re: Is there a Linux trademark issue with sun?

2000-12-15 Thread Igmar Palsenberg
> Heads up everybody. Scott McNealy has apparently been > calling Solaris Sun's implementation of Linux. > Trademark violation time. It's probably a marketing guy that has no idea about what he is talking about. I've seen good Linux related stuff come from Sun and I hardly can imagine that suc

Is there a Linux trademark issue with sun?

2000-12-14 Thread Rob Landley
Heads up everybody. Scott McNealy has apparently been calling Solaris Sun's implementation of Linux. Trademark violation time. The article's here: http://linuxtoday.com/news_story.php3?ltsn=2000-12-14-020-04-NW-CY Quick quote: >When asked by a reporter why Sun's new clustering >software was

Is there a Linux power management mailing list?

2000-12-14 Thread Grover, Andrew
Is there? If not, I think there may be a need for one, and I will start it. -- Andy Andrew Grover Intel/TRL/MAL [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read th

Re: is there a limit on bss size?

2000-11-09 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Philipp Rumpf wrote: > On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: > > It is not so difficult as it looks. > > I don't see it being difficult at all ... > > > The master pgd looking as: > > > > .org 0x1000 > > ENTRY(swapper_pg_dir) > > .long 0x001

Re: is there a limit on bss size?

2000-10-06 Thread Philipp Rumpf
On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: > It is not so difficult as it looks. I don't see it being difficult at all ... > The master pgd looking as: > > .org 0x1000 > ENTRY(swapper_pg_dir) > .long 0x00102007 > .long 0x00103007 > .fill BOOT_USER_PGD

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
It is not so difficult as it looks. The master pgd looking as: .org 0x1000 ENTRY(swapper_pg_dir) .long 0x00102007 .long 0x00103007 .fill BOOT_USER_PGD_PTRS-2,4,0 /* default: 766 entries */ .long 0x00102007 .long 0x00103007 /* default: 254 en

Re: is there a limit on bss size?

2000-10-06 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Petko Manolov wrote: > Philipp Rumpf wrote: > > > > On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > > > Hi, > > > > > > I put a simple construct in kernel/sched.c like this: > > > > > > struct runq_log_s { > > > char comm[16]; > > > int pid

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
Philipp Rumpf wrote: > > On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > > Hi, > > > > I put a simple construct in kernel/sched.c like this: > > > > struct runq_log_s { > > char comm[16]; > > int pid; > > } runq_log[1024*1024]; > > > > and the kernel didn't boo

Re: is there a limit on bss size?

2000-10-05 Thread Philipp Rumpf
On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > Hi, > > I put a simple construct in kernel/sched.c like this: > > struct runq_log_s { > char comm[16]; > int pid; > } runq_log[1024*1024]; > > and the kernel didn't boot. Yes, I understand it is 20M of bss - so

  1   2   >