Re: [PATCH] struct char_device

2001-05-22 Thread Martin Dalecki
[EMAIL PROTECTED] wrote: > > Martin Dalecki writes: > > > Erm... I wasn't talking about the DESIRED state of affairs! > > I was talking about the CURRENT state of affairs. OK? > > Oh, but in 1995 it was quite possible to compile the kernel > with kdev_t

Re: [PATCH] struct char_device

2001-05-22 Thread Martin Dalecki
And if we are at the topic... Those are the places where blk_size[] get's abused, since it's in fact a property of a FS in fact and not the property of a particular device... blksect_size is the array describing the physical access limits of a device and blk_size get's usually checked against it.

Re: [PATCH] struct char_device

2001-05-22 Thread Martin Dalecki
w/drivers/char/raw.c Mon Apr 30 22:57:20 2001 @@ -124,22 +124,25 @@ return err; } - - /* -* Don't interfere with mounted devices: we cannot safely set - * the blocksize on a device which is already mounted. + /* +* 29.04.2001 Martin Dalecki: +

Re: [PATCH] struct char_device

2001-05-23 Thread Martin Dalecki
Linus Torvalds wrote: > > On Tue, 22 May 2001, Jeff Garzik wrote: > > > > IMHO it would be nice to (for 2.4) create wrappers for accessing the > > block arrays, so that we can more easily dispose of the arrays when 2.5 > > rolls around... > > No. > > We do not create wrappers "so that we can ea

Re: How to know HZ from userspace?

2001-05-30 Thread Martin Dalecki
Joel Becker wrote: > > On Wed, May 30, 2001 at 05:24:37PM -0700, Jonathan Lundell wrote: > > FWIW (perhaps not much in this context), the POSIX way is sysconf(_SC_CLK_TCK) > > > > POSIX sysconf is pretty useful for this kind of thing (not just HZ, either). > > Well, how many hundred thin

Re: [PATCH] fix more typos in Configure.help and fs/nls/Config.in

2001-05-30 Thread Martin Dalecki
> Standard is right. > Believe me as someone who are living in Belarus ;-) OK. I trust you. > > Official country name: Belarus > Language/Nationality: Belarusian > > Standard has taken things right as we pronounce them. > > Please apply the patc

Re: [OT] Threads, inelegance, and Java

2001-06-20 Thread Martin Dalecki
Rob Landley wrote: > The same arguments were made 30 years ago about writing the OS in a high > level language like C rather than in raw assembly. And back in the days of > the sub-1-mhz CPU, that really meant something. And then those days we are still writing lot's of ASM in kernels... > I d

Re: [OT] Threads, inelegance, and Java

2001-06-20 Thread Martin Dalecki
Mike Harrold wrote: > So what? Crusoe isn't designed for use in supercomputers. It's designed > for use in laptops where the user is running an email reader, a web > browser, a word processor, and where the user couldn't give a cr*p about > performance as long as it isn't noticeable (20% *isn't* f

Bug in 3c905 driver.

2001-06-25 Thread Martin Dalecki
Just a note... This card get's detected twofold by the plain 2.4.5 kernel. It get's listed twice under both lspci and during the kernel boot sequence on a HP LHr3 system. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More m

Re: Bug in 3c905 driver.

2001-06-25 Thread Martin Dalecki
William Park wrote: > > On Mon, Jun 25, 2001 at 08:51:28PM +0200, Martin Dalecki wrote: > > Just a note... > > > > This card get's detected twofold by the plain 2.4.5 kernel. > > It get's listed twice under both lspci and during the kernel boot > >

PCI bridge setup error in linux-2.4.x (anyone of them)

2001-06-29 Thread Martin Dalecki
I ahve a PC box at hand, which ist containing 8 PCI slots. Four of them are sitting behind a PCI bridge. The error in the new kernel series is that during the PCI bus setup if a card is sitting behind the bridge, it will be miracelously detected TWICE. Once in front of the bridge and once behind t

PATCH for 2.4.3 - tinny mount code cleanup (kernel 0.97 compatibility)

2001-04-26 Thread Martin Dalecki
The attached patch is fixing georgeous "backward compatibility" in the mount system command. It is removing two useless defines in the kernel headers and finally doubles the number of possible flags for the mount command. Please apply. If there are any line count difference warnings when applyin

PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Martin Dalecki
Hello! The following patch is making the get_empty_super() function just local to the place where it's only use is and where it's only use should be: fs/super.c The removal of this symbol from ksyms.c should: 1. Help making the module interface cleaner by a tinny margin :-). 2. shouldn't hurt

Re: PATCH: 2.4.3 tinny module interface cleanum

2001-04-26 Thread Martin Dalecki
Ingo Oeser wrote: > > On Thu, Apr 26, 2001 at 10:58:46AM +0200, Martin Dalecki wrote: > > 1. Help making the module interface cleaner by a tinny margin :-). > > You only help changing the API during a stable[1] series. Wait until 2.5 > for this. > > API cannot change

Re: PATCH for 2.4.3 - tinny mount code cleanup (kernel 0.97 compatibility)

2001-04-27 Thread Martin Dalecki
[EMAIL PROTECTED] wrote: > > From: Martin Dalecki <[EMAIL PROTECTED]> > > The attached patch is fixing georgeous "backward compatibility" > in the mount system command. It is removing two useless defines in > the kernel headers and fina

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-27 Thread Martin Dalecki
Linus Torvalds wrote: > Dump was a stupid program in the first place. Leave it behind. Not quite Linus - dump/restore are nice tools to create for example automatic over network installation servers, i.e. efficient system images or such. tar/cpio and friends don't deal properly with a. holes in

Re: [PATCH] cleanup for fixing get_super() races

2001-04-28 Thread Martin Dalecki
Alexander Viro wrote: > > On Fri, 27 Apr 2001, Alexander Viro wrote: > > > Fine with me. Actually in _all_ cases execept cdrom.c it's preceded by > > either sync_dev() or fsync_dev(). What do you think about pulling that > > into the same function? Actually, that's what I've done in namespace >

Re: [PATCH] cleanup for fixing get_super() races

2001-04-29 Thread Martin Dalecki
Alexander Viro wrote: > > On Sat, 28 Apr 2001, Martin Dalecki wrote: > > > I think in the context you are inventig the proposed function, > > the drivers has allways an inode at hand. And contrary to what Linus > > Read the patch. Almost all cases are of the &

PATCH 2.4.4 some fixes for the usage of blksize_size and others

2001-04-30 Thread Martin Dalecki
/* -* Don't interfere with mounted devices: we cannot safely set - * the blocksize on a device which is already mounted. + /* +* 29.04.2001 Martin Dalecki: +* +* The original comment here was saying: +* +* "Don&#x

Re: iso9660 endianness cleanup patch

2001-05-02 Thread Martin Dalecki
"H. Peter Anvin" wrote: > > Hi guys, > > I was looking over the iso9660 code, and noticed that it was doing > endianness conversion via ad hoc *functions*, not even inlines; nor did > it take any advantage of the fact that iso9660 is bi-endian (has "all" > data in both bigendian and littleendian

Re: page_launder() bug

2001-05-09 Thread Martin Dalecki
Rusty Russell wrote: > > In message <[EMAIL PROTECTED]> you write: > > > > Jonathan Morton writes: > > > >- page_count(page) == (1 + !!page->buffers)); > > > > > > Two inversions in a row? > > > > It is the most straightforward way to make a '1' or '0' > > integer from the NUL

Re: blkdev in pagecache

2001-05-09 Thread Martin Dalecki
Andrea Arcangeli wrote: > (btw, also the current rawio uses a 512byte bh->b_size granularity that is even > worse than the 1024byte b_size of the blkdev, O_DIRECT is much smarter > on this side as it uses the softblocksize of the fs that can be as well > 4k if you created the fs with -b 4096) Am

Re: blkdev in pagecache

2001-05-09 Thread Martin Dalecki
Andrea Arcangeli wrote: > > On Wed, May 09, 2001 at 11:13:33AM +0200, Martin Dalecki wrote: > > > (buffered and direct) to work with a 4096 bytes granularity instead of > > > > You mean PAGE_SIZE :-). > > In my first patch it is really 4096 bytes, but yes I

Re: [PATCH] fbdev logo (fwd)

2001-05-10 Thread Martin Dalecki
> - Political fixes: > o There were still some penguins left carrying a glass of beer or wine. > This problem is about 2 years old! Could You please for the sake of political correctness just replace the beer with a glass of vodka please... It tastes better anyway! - To unsubscrib

Re: LANANA: Getting out of hand?

2001-05-15 Thread Martin Dalecki
Linus Torvalds wrote: > > On Mon, 14 May 2001, Alan Cox wrote: > > > > Except that Linus wont hand out major numbers, which means I can't even boot > > simply off such a device. I bet the vendors in question dont think the sun > > shines out of linus backside any more. > > Actually, it does. It'

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Martin Dalecki
Linus Torvalds wrote: > and then use > > fd = open("/dev/fd0/colourspace", O_RDWR); > This, btw, is Al Viro's wet dream. But I have to agree: using name spaces > etc is MUCH preferable to ioctl's, makes code more readable and logical, > and often makes it possible to do things you could

Re: [PATCH] SCSI disk minor number cleaning

2001-05-15 Thread Martin Dalecki
Andrzej Krzysztofowicz wrote: > > Hi, > The following patch cleans up a bit usage of parameters related to > number of minors per disk in the SCSI subsystem. This is a preliminary > patch and it seems to not contain any problematic changes. The full version > of the patch (that allows to succes

<    1   2