All of lore.kernel.org
 help / color / mirror / Atom feed
* another question.....
@ 2002-03-24 19:44 Neil Horman
  2002-03-25 18:39 ` Dan Malek
  0 siblings, 1 reply; 6+ messages in thread
From: Neil Horman @ 2002-03-24 19:44 UTC (permalink / raw)
  To: linuxppc-embedded


hey again all!
	I also had a question regarding the swapper_pg_dir variable.  I understand that
it is used as a sort of private cache for kernel tasks (kswapd, klogd, etc).  I
was wondering, is that area used only for kernel threads, or for all threads
executing in kernel space? (I.E. user processes in a system call, etc)?  Many
thanks!
Neil

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: another question.....
  2002-03-24 19:44 another question Neil Horman
@ 2002-03-25 18:39 ` Dan Malek
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 2002-03-25 18:39 UTC (permalink / raw)
  To: Neil Horman; +Cc: linuxppc-embedded


Neil Horman wrote:

> 	I also had a question regarding the swapper_pg_dir variable.

It's used to represent the kernel mapping.  The combination of the
kernel mapping and that of the current application memory context will
determine how memory is accessed.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Another Question
@ 2002-12-09 17:53 Richard Mayo
  2002-12-09 18:38 ` Russell Coker
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Mayo @ 2002-12-09 17:53 UTC (permalink / raw)
  To: SELinux

I should have posted this question along with my previous posting, but
these things happen. . .

While running in enforcing mode, is it possible to allow certain actions,
but still to audit their occurences?
(perhaps with some command working the opposite of "neveraudit")


I appreciate any assistance,
Rich Mayo



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another Question
  2002-12-09 17:53 Another Question Richard Mayo
@ 2002-12-09 18:38 ` Russell Coker
  0 siblings, 0 replies; 6+ messages in thread
From: Russell Coker @ 2002-12-09 18:38 UTC (permalink / raw)
  To: Richard Mayo, SELinux

On Mon, 9 Dec 2002 18:53, Richard Mayo wrote:
> While running in enforcing mode, is it possible to allow certain actions,
> but still to audit their occurences?

auditallow.

> (perhaps with some command working the opposite of "neveraudit")

dontaudit.


These are used in the sample policy.  dontaudit is a newer addition so it's 
not in the earlier documents, but it should be in the latest doco, auditallow 
is well documented.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Another question
@ 2013-03-26 16:57 Christoffer Dall
  2013-03-31 17:17 ` Gleb Natapov
  0 siblings, 1 reply; 6+ messages in thread
From: Christoffer Dall @ 2013-03-26 16:57 UTC (permalink / raw)
  To: KVM General; +Cc: Gleb Natapov, Marcelo Tosatti

Hi guys,

I have an x86 question that I really hope you can help with:

Running the kvm-unit-tests on x86, I see a quite large difference
between I/O from the kernel, and I/O user (around 6,000 cycles) on two
separate platforms.

This is probably expected, but what is the explanation? If I correlate
with system call overhead from lmbench, it's nowhere near that (in the
hundreds of cycles), so I'm sure I'm missing something obvious.

Thanks!
-Christoffer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another question
  2013-03-26 16:57 Another question Christoffer Dall
@ 2013-03-31 17:17 ` Gleb Natapov
  0 siblings, 0 replies; 6+ messages in thread
From: Gleb Natapov @ 2013-03-31 17:17 UTC (permalink / raw)
  To: Christoffer Dall; +Cc: KVM General, Marcelo Tosatti

On Tue, Mar 26, 2013 at 09:57:00AM -0700, Christoffer Dall wrote:
> Hi guys,
> 
> I have an x86 question that I really hope you can help with:
> 
> Running the kvm-unit-tests on x86, I see a quite large difference
> between I/O from the kernel, and I/O user (around 6,000 cycles) on two
> separate platforms.
> 
> This is probably expected, but what is the explanation? If I correlate
> with system call overhead from lmbench, it's nowhere near that (in the
> hundreds of cycles), so I'm sure I'm missing something obvious.
> 
KVM does not restore full CPU host state on each vmexit since not all
the state is used by the kernel while KVM is running on the CPU. Some
state is restored only when vcpu thread is scheduled out from a host CPU
and some state is restored only when CPU moves to userspace. To exit to
userspace full host CPU state need to be restored.

--
			Gleb.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-31 17:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 16:57 Another question Christoffer Dall
2013-03-31 17:17 ` Gleb Natapov
  -- strict thread matches above, loose matches on Subject: below --
2002-12-09 17:53 Another Question Richard Mayo
2002-12-09 18:38 ` Russell Coker
2002-03-24 19:44 another question Neil Horman
2002-03-25 18:39 ` Dan Malek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.