On Thu, 7/30/15, Hooman Fazaeli wrote:
Subject: Re: Locking Memory Question
To: "Laurie Jennings"
Cc: "freebsd-net@freebsd.org"
Date: Thursday, July 30, 2015, 2:35 PM
On 7/30/2015 5:22 AM,
Laurie Jennings v
On 7/30/2015 5:22 AM, Laurie Jennings via freebsd-net wrote:
On Wed, 7/29/15, John-Mark Gurney wrote:
Subject: Re: Locking Memory Question
To: "Laurie Jennings"
Cc: "John Baldwin" , freebsd-net@freebsd.org
Date: Wednesd
On Thu, 7/30/15, John Baldwin wrote:
Subject: Re: Locking Memory Question
To: "K. Macy"
Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney"
, "Laurie Jennings"
Date: Thursday, July 30, 2015, 10:16 AM
On Thu, 7/30/15, John Baldwin wrote:
Subject: Re: Locking Memory Question
To: "K. Macy"
Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney"
, "Laurie Jennings"
Date: Thursday, July 30, 2015, 10:16 AM
On Thu, 7/30/15, John Baldwin wrote:
Subject: Re: Locking Memory Question
To: "K. Macy"
Cc: "freebsd-net@freebsd.org" , "John-Mark Gurney"
, "Laurie Jennings"
Date: Thursday, July 30, 2015, 10:16 AM
On Wednesday, July 29, 2015 11:28:03 PM K. Macy wrote:
> >>
> >> Im not clear how I'd do that. the data being passed up from the kernel is
> >> a variable size. To use copyout I'd have to pass a
> >> pointer with a static buffer, right?
> >
> > Correct, you can pass along the size, and if it's not
>>
>> Im not clear how I'd do that. the data being passed up from the kernel is a
>> variable size. To use copyout I'd have to pass a
>> pointer with a static buffer, right?
>
> Correct, you can pass along the size, and if it's not large enough
> try again... Less than ideal...
>
>> Is there a way
Laurie Jennings wrote this message on Wed, Jul 29, 2015 at 17:52 -0700:
>
> On Wed, 7/29/15, John-Mark Gurney wrote:
>
> Subject: Re: Locking Memory Question
> To: "Laurie Jennings"
> Cc: "John Baldwin" , free
On Wednesday, July 29, 2015 03:26:46 PM Laurie Jennings wrote:
>
> I have a problem and I can't quite figure out where to look. This is what Im
> doing:
>
> I have an IOCTL to read a block of data, but the data is too large to return
> via ioctl. So to get the data,
> I allocate a block in a ke
On Wed, 7/29/15, John-Mark Gurney wrote:
Subject: Re: Locking Memory Question
To: "Laurie Jennings"
Cc: "John Baldwin" , freebsd-net@freebsd.org
Date: Wednesday, July 29, 2015, 7:25 PM
Laurie Jennings via
freebsd-net w
Laurie Jennings via freebsd-net wrote this message on Wed, Jul 29, 2015 at
15:26 -0700:
>
> I have a problem and I can't quite figure out where to look. This is what Im
> doing:
>
> I have an IOCTL to read a block of data, but the data is too large to return
> via ioctl. So to get the data,
>
I have a problem and I can't quite figure out where to look. This is what Im
doing:
I have an IOCTL to read a block of data, but the data is too large to return
via ioctl. So to get the data,
I allocate a block in a kernel module:
foo = malloc(1024000,M_DEVBUF,M_WAITOK);
I pass up a pointer
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
13 matches
Mail list logo