Re: [PATCH 1/2] vhost test module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Saturday, December 4, 2010 - 11:03 am

On Thu, Dec 02, 2010 at 03:56:56PM -0800, Paul E. McKenney wrote:

PS to previous...

Suppose that there are many work structures, and several of them use
this same function, but the function has no indication of which one it
is working on.  Then one reasonable approach is to share a lockdep_map
structure among them.  Although this does not allow you to validate
one-to-one from structure to function invocation, it -does- allow the
code to defend itself against an incorrect direct call into the from
some inappropriate context.

							Thanx, Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] tools/virtio: virtio_ring testing tool, Michael S. Tsirkin, (Mon Nov 29, 10:04 am)
[PATCH 1/2] vhost test module, Michael S. Tsirkin, (Mon Nov 29, 10:09 am)
[PATCH 2/2] tools/virtio: virtio_test tool, Michael S. Tsirkin, (Mon Nov 29, 10:16 am)
Re: [PATCH 1/2] vhost test module, Paul E. McKenney, (Thu Dec 2, 12:00 pm)
Re: [PATCH 1/2] vhost test module, Michael S. Tsirkin, (Thu Dec 2, 12:11 pm)
Re: [PATCH 1/2] vhost test module, Paul E. McKenney, (Thu Dec 2, 12:26 pm)
Re: [PATCH 1/2] vhost test module, Michael S. Tsirkin, (Thu Dec 2, 12:47 pm)
Re: [PATCH 1/2] vhost test module, Paul E. McKenney, (Thu Dec 2, 4:13 pm)
Re: [PATCH 1/2] vhost test module, Michael S. Tsirkin, (Thu Dec 2, 4:18 pm)
Re: [PATCH 1/2] vhost test module, Paul E. McKenney, (Thu Dec 2, 4:56 pm)
Re: [PATCH 1/2] vhost test module, Paul E. McKenney, (Sat Dec 4, 11:03 am)
Re: [PATCH 2/2] tools/virtio: virtio_test tool, Rusty Russell, (Sun Dec 5, 9:53 pm)
Re: [PATCH 2/2] tools/virtio: virtio_test tool, Thiago Farina, (Mon Dec 6, 9:37 am)
Re: [PATCH 2/2] tools/virtio: virtio_test tool, Michael S. Tsirkin, (Mon Dec 13, 9:58 am)
Re: [PATCH 2/2] tools/virtio: virtio_test tool, Michael S. Tsirkin, (Mon Dec 13, 10:14 am)