From mboxrd@z Thu Jan 1 00:00:00 1970 From: imp@bsdimp.com (Warner Losh) Date: Mon, 4 Dec 2017 15:56:22 -0700 Subject: [TUHS] signals and blocked in I/O In-Reply-To: <01db01d36d52$cffe9430$6ffbbc90$@ronnatalie.com> References: <20171201161810.GM3924@mcvoy.com> <20171201172603.GO3924@mcvoy.com> <20171201223859.GX3924@mcvoy.com> <20171201230302.0DC351FA41@orac.inputplus.co.uk> <20171201230934.GA24335@mcvoy.com> <20171201234230.F33D4156E523@mail.bitblocks.com> <20171202004850.GB24335@mcvoy.com> <201712041636.vB4GaFEp017803@freefriends.org> <01db01d36d52$cffe9430$6ffbbc90$@ronnatalie.com> Message-ID: Pages are pages. The filesystem handles the details for the offset of each one. There's no contiguous on disk requirement. Warner On Mon, Dec 4, 2017 at 3:54 PM, Ron Natalie wrote: > Nothing says a page has to be loaded in one DMA. The swap file isn't > allocated any different than any other file on the LINUX systems. About > the only thing you have to do is make > sure that all the blocks are populated. UNIX normally allocates the > files > as sparse and the swap code doesn't want to have to worry about allocating > blocks when it comes to paging out. > > > > -----Original Message----- > From: TUHS [mailto:tuhs-bounces at minnie.tuhs.org] On Behalf Of Dave > Horsfall > Sent: Monday, December 4, 2017 5:07 PM > To: The Eunuchs Hysterical Society > Subject: Re: [TUHS] signals and blocked in I/O > > On Mon, 4 Dec 2017, arnold at skeeve.com wrote: > > > Most modern systems let you use a regular old file in the filesystem > > for swap space, instead of having to repartition your disk and using a > > dedicated partition. I'd be suprised if your *BSD box didn't let you > > do that too. It's a little slower, but a gazillion times more > convenient. > > Doesn't it have to be a contiguous file (for DMA), or is scatter/gather now > supported? > > -- > Dave Horsfall DTM (VK2KFU) "Those who don't understand security will > suffer." > > -------------- next part -------------- An HTML attachment was scrubbed... URL: