From owner-freebsd-current Thu Jun 25 06:45:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA10038 for freebsd-current-outgoing; Thu, 25 Jun 1998 06:45:02 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from aldan.ziplink.net (mi@kot.ne.mediaone.net [24.128.29.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA10024 for ; Thu, 25 Jun 1998 06:44:54 -0700 (PDT) (envelope-from mi@rtfm.ziplink.net) Received: from rtfm.ziplink.net (rtfm [199.232.255.52]) by aldan.ziplink.net (8.8.8/8.8.7) with ESMTP id NAA05158 for ; Thu, 25 Jun 1998 13:44:43 GMT (envelope-from mi@rtfm.ziplink.net) Received: (from mi@localhost) by rtfm.ziplink.net (8.8.8/8.8.5) id JAA27893 for current@freebsd.org; Thu, 25 Jun 1998 09:44:34 -0400 (EDT) From: Mikhail Teterin Message-Id: <199806251344.JAA27893@rtfm.ziplink.net> Subject: buffering in user space (was Heads up: block devices to disappear!) In-Reply-To: <199806242137.OAA17628@usr04.primenet.com> from "Terry Lambert" at "Jun 24, 98 09:37:52 pm" To: current@FreeBSD.ORG Date: Thu, 25 Jun 1998 09:44:34 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Just wondering, can't one do all the buffering one needs in user-space? => With, say, buffer or team? = =I agree; buffering should be done in user programs. = =Death to stdio! mi@rtfm:/tmp (558) nm /usr/lib/libc.so.3.1 | grep putchar 00009c80 T _putchar To the best of my knowledge, stdio is part of libc and thus lives in user-space already. Or is this because ANSI comittee is against implementing SMB servers in user space? I may very well be wrong, but stdio seems like a poor example. =After all, all it is is a bunch more code to write in very application, =instead of once, in the kernel. Not in every application, in one library. If that library does not exist already (I think, it does and is called -lc)... -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message