Re: Replacement for get_user_pages() of Linux

2003-02-23 Thread Terry Lambert
Byunghyun Oh wrote: I'm porting Plex86 x86 VM, which uses get_user_pages() function at Linux-version kernel module to find and pin physical pages of memory in user space (according to its documentation). I tried many candidates as its replacement (PHYS_TO_VM_PAGE() macro in vm/vm_page.h seems

Re: Replacement for get_user_pages() of Linux

2003-02-23 Thread Christoph Hellwig
On Sun, Feb 23, 2003 at 12:49:31AM -0800, Terry Lambert wrote: I've been unable to find any documentation on get_user_pages(), and you didn't provide a link to any. But looking at the source code, the reason for doing this is to permit DMA directly into user pages. I don't understand what

Re: Replacement for get_user_pages() of Linux

2003-02-23 Thread Terry Lambert
Christoph Hellwig wrote: On Sun, Feb 23, 2003 at 12:49:31AM -0800, Terry Lambert wrote: I've been unable to find any documentation on get_user_pages(), and you didn't provide a link to any. But looking at the source code, the reason for doing this is to permit DMA directly into user

Re: Replacement for get_user_pages() of Linux

2003-02-23 Thread Christoph Hellwig
On Sun, Feb 23, 2003 at 02:17:23AM -0800, Terry Lambert wrote: OK, you mean make non-pageable. Well, I didn't write the initial mail :) The question, I guess, is why?. Are you trying to do a delayed operation that will complete when the process has otherwise been swapped out? well, I don't

Re: scan_ffs for UFS2

2003-02-23 Thread Michael Ranner
Am Freitag, 21. Februar 2003 22:38 schrieben Sie: At 10:20 PM +0100 2/19/03, Michael Ranner wrote: For what it's worth, we (FreeBSD) have a simple SuperBlock recovery program in /usr/src/tools/tools/find-sb. I picked up some updates from Dave Cross for that, and have a few more of my own. I

Re: C coding editor

2003-02-23 Thread Wes Peters
On Friday 21 February 2003 04:21 am, Clemens Hermann wrote: Hi, what are your favourite editors for coding C? While vi on the first terminal, cc on second and runs on the third is fine for very small things I doubt it is the way people do it here. Terminal? You have heard of this really

Re: C coding editor

2003-02-23 Thread Kent Stewart
On Sunday 23 February 2003 10:17 am, Wes Peters wrote: On Friday 21 February 2003 04:21 am, Clemens Hermann wrote: Hi, what are your favourite editors for coding C? While vi on the first terminal, cc on second and runs on the third is fine for very small things I doubt it is the way

freebsd-hackers, LIVE FROM WALL STREET: VICC Test Results Are In...

2003-02-23 Thread incomingforward
[EMAIL PROTECTED] If you bought into our last recommendation (CIMG) early enough you had an excellent opportunity to make substantial gains (from .90 to 1.65 in just the first day). Now is your chance to do the same with our newest pick: VICC. To find out more go to Live From the Street. If you

Re: scan_ffs for UFS2

2003-02-23 Thread Garance A Drosihn
At 3:40 PM +0100 2/23/03, Michael Ranner wrote: Am Freitag, 21. Februar 2003 Garance wrote: I don't know how find-sb compares to the program you're talking about, but they sound kind of similar. Scan_ffs can print the lost disklabel for use with disklabel(8). Find-sb, that version from cvs,

Re: arc4random() range

2003-02-23 Thread Greg 'groggy' Lehey
On Wednesday, 19 February 2003 at 9:22:18 -0800, Wes Peters wrote: On Tuesday 18 February 2003 22:36, Peter Jeremy wrote: I see this as a major advantage of arc4random() - if I want 32-bit random numbers I don't have to call random() twice and merge the results. I've never understood why