Im wondering if there have been changes to the api since FreeBSD 9 as I can't
get some code I'm porting to work.
I have a block of kernel memory wired down and I want to map it to user space.
Its just a big structure that has stats and other volatile info. In 9.x I was
able to simply do:
// kp
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 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 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
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"
I'm having a problem with a Supermicro system running FreeBSD 9.1. Sometimes
when I upgrade the kernel in my main drive (ada0),
the system boots the kernel from the 2nd drive. It only happens sometimes. ada0
is mounted. but the system is running the old kernel.
Pulling the 2nd fixed the problem
ing? I need
to make this work and it's
driving me crazy!
Laurie
On Mon, 4/22/13, John Baldwin wrote:
Subject: Re: shm_map questions
To: freebsd-net@freebsd.org
Cc: "Laurie Jennings"
Date: Monday, April 22, 2013, 8:43 AM
On Sa
Im trying to set the names of threads so I can distinguish them in top -H, but
it doesn't seem to
take the thread id as valid.
err=pthread_set_name_np(pthread_self(),"FOO");
returns an error of 3
thanks,
Laurie
___
freebsd-net@freebsd.org mailing li
Im trying to get a user space pthread to monitor some kernel buffers but I
can't get it to run at
any sort or reliable priority. The docs on rtprio are pretty weak. I've tried
to change the rtprio of
the process, but it just locks up the system. I can't figure it out.
what are the ways to give
t the amount of data in an mbuf chain
submitted to a driver?
To: "Laurie Jennings"
Cc: "FreeBSD Net"
Date: Saturday, May 18, 2013, 9:16 AM
Version numbers result from my work internally, and sometimes they
increment due to a build issue, or a bug found that needs to be correc
submitted to a driver?
To: "Laurie Jennings"
Cc: "FreeBSD Net" , "Adrian Chadd"
, "Richard Sharpe"
Date: Friday, May 17, 2013, 3:32 PM
No Laurie, I ran into an issue that I needed to resolve, and then my
validation engineer
went out of town a couple days. Sh
Did you get to commit that new code yet?
Laurie
--- On Sat, 5/4/13, Jack Vogel wrote:
From: Jack Vogel
Subject: Re: Is there any way to limit the amount of data in an mbuf chain
submitted to a driver?
To: "Richard Sharpe"
Cc: "FreeBSD Net" , "Adrian Chadd"
Date: Saturday, May 4, 2013, 2:18 P
That does help. Is there a way for the kernel to access the memory map
directlyby segment name?
Laurie
--- On Thu, 4/18/13, John Baldwin wrote:
From: John Baldwin
Subject: Re: shm_map questions
To: freebsd-net@freebsd.org
Cc: "Laurie Jennings"
Date: Thursday, April 18, 2013, 6
Im working on a simple project that shares a memory segment between a user
processand a kernel module. I'm having some problems with shm_map and there
doesn't seem to be much info on it.
Im not sure what happened to the memory when the user process that creates it
terminates. I have some questi
17 matches
Mail list logo