Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 17 Mar 2002 09:32:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 17 Mar 2002 09:31:43 -0500 Received: from mailrelay1.lrz-muenchen.de ([129.187.254.101]:5837 "EHLO mailrelay1.lrz-muenchen.de") by vger.kernel.org with ESMTP id ; Sun, 17 Mar 2002 09:31:33 -0500 Date: Sun, 17 Mar 2002 15:31:27 +0100 (CET) From: Simon Richter To: Anton Altaparmakov cc: Jeff Garzik , Andrew Morton , , Subject: Re: fadvise syscall? In-Reply-To: <5.1.0.14.2.20020317131910.0522b490@pop.cus.cam.ac.uk> Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Mar 2002, Anton Altaparmakov wrote: > All of what you are asking for exists in Windows and all the semantics are > implemented through a very powerful open(2) equivalent. I don't see why we > shouldn't do the same. It makes more sense to me than inventing yet another > system call... It is easier for application writers to code: [...] #ifdef HAVE_FADVISE (void)fadvise(fd, FADV_STREAMING); #endif [...] Than to have a forest of #ifdefs to determine which O_* flags are supported. After all, we still want our programs to run under Solaris. :-) Simon -- GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc Fingerprint: 040E B5F7 84F1 4FBC CEAD ADC6 18A0 CC8D 5706 A4B4 Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! - 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/