[OpenAFS-devel] Fwd: XEN and openafs-modules-source

Russ Allbery rra@stanford.edu
Sat, 08 Oct 2005 18:31:50 -0700


Forwarded with permission.  I don't know enough about the Linux kernel
headers to really say anything useful.  Could one of the Linux folks
comment on this?


Subject: XEN and openafs-modules-source
From: Robert Velter <Robert@Velter.de>
To: rra@stanford.edu
Date: Wed, 05 Oct 2005 11:35:11 +0200

Hello Russ,

i would like to use openafs in a xen virtual machine. But due to the
usage of spin_lock_irq/spin_unlock_irq in src/afs/LINUX/* i think the
module is not xen aware. A similar issue has been resolved by Herbert Xu
in the kernel source (net/ipv4/udp.c) by substituting
spin_lock_irq/spin_unlock_irq with spin_lock_bh/spin_unlock_bh.
What do you think about this?

Greetings, Robert

-- 
Robert Velter <Robert@Velter.de>