public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Linus's poll variation
@ 2000-11-01 16:29 Dan Kegel
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Kegel @ 2000-11-01 16:29 UTC (permalink / raw)
  To: linux-kernel, Lyle Coder

Lyle asked:
> Is someone working on Linus's poll variation discussed in this list a week ago? 

I think the interface still needs some discussion.
The interface Linus proposed is IMHO oriented towards ease of 
kernel implementation, and doesn't appear to be easy to use
for all applications.
cf. recent posts by John Gardiner Myers <jgmyers@netscape.com>
e.g. 
http://boudicca.tux.org/hypermail/linux-kernel/2000week44/0966.html
http://boudicca.tux.org/hypermail/linux-kernel/2000week45/0212.html
IMHO kqueue()/kevent() is closer to what the apps want.

Mike Jagdis, however, has done some work on speeding up the
existing poll() system call, and has an eye on implementing
the /dev/poll interface.  See
http://boudicca.tux.org/hypermail/linux-kernel/2000week45/0266.html
- Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: test10-pre7
@ 2000-10-31 18:07 Vladislav Malyshkin
  2000-10-31 18:38 ` test10-pre7 Linus Torvalds
  0 siblings, 1 reply; 2+ messages in thread
From: Vladislav Malyshkin @ 2000-10-31 18:07 UTC (permalink / raw)
  To: Peter Samuelson, R.E.Wolff, torvalds, linux-kernel

Also, the function remove_duplicates can be written using make rules and
functions.
Using functions "foreach" "if" from make and comparison you can easily
build
a function remove_duplicates in make, no shell involved.
so instead of $(sort) your will have $(remove_duplicates)
written entirely in make.
Vladislav

Peter Samuelson wrote:

> [Vladislav Malyshkin <mal@gromco.com>]
> > You can easily remove duplicates in object files without sorting.
> > You can just use a shell written function.
>
> This is true.  That was something I forgot to mention.  I have looked
> at that as well, and it strikes me as even more of a hack than the
> solutions I mentioned: it is yet another external shell process for
> each invocation of Rules.make (ie each directory).  As I said before,
> though, one man's hack is another man's clean design, so whatever.
>
> Your function is rather long; try this one instead (untested):
>
>   remove_duplicates () {
>     str='';
>     for i; do
>       case "$str " in *" $i "*) ;; *) str="$str $i" ;; esac
>     done
>     echo "$str"
>   }
>
> I still think anything outside the makefiles that's needed to organize
> the build process is a hack.  That includes scripts/pathdown.sh (yes, I
> do have a scheme to get rid of it) and 2.2.18 scripts/kwhich (yes, I
> did propose a working alternative).  It doesn't include scripts/mkdep.c
> (which must do a lot of work as efficiently as possible),
> scripts/Configure et al (which are really standalone programs), or
> scripts/split-include.c (which is really a continuation of Configure).
>
> Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-01 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01 16:29 Linus's poll variation Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2000-10-31 18:07 test10-pre7 Vladislav Malyshkin
2000-10-31 18:38 ` test10-pre7 Linus Torvalds
2000-10-31 19:16   ` test10-pre7 H. Peter Anvin
2000-11-01  3:15     ` test10-pre7 Peter Samuelson
2000-11-01  6:11       ` test10-pre7 H. Peter Anvin
2000-11-01  6:19         ` Linus's poll variation Lyle Coder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox