On Fri, Jun 7, 2019 at 7:12 AM Yang Weijiang wrote:
>
> On Thu, Jun 06, 2019 at 09:57:00PM -0600, Jidong Xiao wrote:
> > Hi, Weijiang,
> >
> > Does this require some specific Intel processors or is it supported by
> > older processors as well?
> >
> >
Hi, Weijiang,
Does this require some specific Intel processors or is it supported by
older processors as well?
-Jidong
On Thu, Jun 6, 2019 at 9:33 AM Yang Weijiang wrote:
>
> Signed-off-by: Yang Weijiang
> ---
> Documentation/virtual/kvm/spp_kvm.txt | 216 ++
> 1 file
On Wed, Jul 2, 2014 at 2:14 PM, wrote:
> From: Kan Liang
>
> x86, perf: Protect LBR and offcore rsp against KVM lying
>
> With -cpu host, KVM reports LBR and offcore support, if the host has support.
> When the guest perf driver tries to access LBR or offcore_rsp MSR,
> it #GPs all MSR
On Wed, Jul 2, 2014 at 2:14 PM, kan.li...@intel.com wrote:
From: Kan Liang kan.li...@intel.com
x86, perf: Protect LBR and offcore rsp against KVM lying
With -cpu host, KVM reports LBR and offcore support, if the host has support.
When the guest perf driver tries to access LBR or offcore_rsp
Resend to kernel-development list.
The original email wasn't plaintext mode and was rejected by
kernel-development list.
On Tue, Apr 29, 2014 at 11:31 PM, Jidong Xiao wrote:
> Hi,
>
> I noticed this variable, defined in mm/nommu.c,
>
> mm/nommu.c:int heap_stack_gap = 0;
>
&g
Resend to kernel-development list.
The original email wasn't plaintext mode and was rejected by
kernel-development list.
On Tue, Apr 29, 2014 at 11:31 PM, Jidong Xiao jidong.x...@gmail.com wrote:
Hi,
I noticed this variable, defined in mm/nommu.c,
mm/nommu.c:int heap_stack_gap = 0
Hi,
I just have a simple question about fallocate.
I want to test the punch hole function of fallocate(). So I wrote such
a simple program:
yosemite:/mnt # cat test.c
#include
#include
#include
#include
#include
#include
int main(void)
{
int fd;
fd = open("testfile",
Hi,
I just have a simple question about fallocate.
I want to test the punch hole function of fallocate(). So I wrote such
a simple program:
yosemite:/mnt # cat test.c
#include fcntl.h
#include errno.h
#include stdio.h
#include stdint.h
#include linux/fs.h
#include linux/falloc.h
int main(void)
Hi,
I know there is set_intr_gate(n,addr) which is used to insert an
interrupt gate in the n th IDT entry. But I don't know what the usage
of set_intr_gate_ist()?
Take the code below for example,
static inline void set_intr_gate_ist(int nr, void *func, unsigned ist)
{
Hi,
I know there is set_intr_gate(n,addr) which is used to insert an
interrupt gate in the n th IDT entry. But I don't know what the usage
of set_intr_gate_ist()?
Take the code below for example,
static inline void set_intr_gate_ist(int nr, void *func, unsigned ist)
{
On Dec 10, 2007 6:37 PM, Jens Axboe <[EMAIL PROTECTED]> wrote:
>
> On Mon, Dec 10 2007, jidong xiao wrote:
> > Hi,
> >
> > I am reading the source code of block I/O layer, and now seeing there
> > saying "ordering by draining" or "orderi
On Dec 10, 2007 6:37 PM, Jens Axboe [EMAIL PROTECTED] wrote:
On Mon, Dec 10 2007, jidong xiao wrote:
Hi,
I am reading the source code of block I/O layer, and now seeing there
saying ordering by draining or ordering by tag in
include/blkdev.h,and the comments in that file says
Hi,
I am reading the source code of block I/O layer, and now seeing there
saying "ordering by draining" or "ordering by tag" in
include/blkdev.h,and the comments in that file says: "Hardbarrier is
supported with one of the following methods", but what do these two
methods exactly mean?
Thanks
Hi,
I am reading the source code of block I/O layer, and now seeing there
saying ordering by draining or ordering by tag in
include/blkdev.h,and the comments in that file says: Hardbarrier is
supported with one of the following methods, but what do these two
methods exactly mean?
Thanks
Regards
if one thread set its current->flag with PF_NOFREEZE, then it means
this thread is unfreezable,does this mean, when the system entered
into a suspended state, even though all the other threads have already
gone sleep, this thread still keeps awaken?
One thing I am very confused is, if all the
On 8/9/07, Adrian Bunk <[EMAIL PROTECTED]> wrote:
>
> Say "y" at
> General setup
>Configure standard kernel features (for small systems)
>
> cu
> Adrian
>
Thank you, Adrian, it's very clear.
By the way, can sysfs be compiled as a module?Does bool type mean this
option cannot be compiled as
For example,
config SYSFS
bool "sysfs file system support" if EMBEDDED
default y
What does 'if EMBEDDED' mean?Can I choose n here?
I saw there is no corresponding option within `make menuconfig`, so I
am wondering what can I do if I wanna to disable this option, directly
change
On 8/9/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote:
>
> No. There is no requirement that the pointer is page-aligned. The last
> page of the address space is (in the Linux kernel) invalid by
> definition, so there are in effect three kinds of pointers in the Linux
> kernel: valid pointers,
On 8/9/07, H. Peter Anvin [EMAIL PROTECTED] wrote:
No. There is no requirement that the pointer is page-aligned. The last
page of the address space is (in the Linux kernel) invalid by
definition, so there are in effect three kinds of pointers in the Linux
kernel: valid pointers, NULL, and
For example,
config SYSFS
bool sysfs file system support if EMBEDDED
default y
What does 'if EMBEDDED' mean?Can I choose n here?
I saw there is no corresponding option within `make menuconfig`, so I
am wondering what can I do if I wanna to disable this option, directly
change
On 8/9/07, Adrian Bunk [EMAIL PROTECTED] wrote:
Say y at
General setup
Configure standard kernel features (for small systems)
cu
Adrian
Thank you, Adrian, it's very clear.
By the way, can sysfs be compiled as a module?Does bool type mean this
option cannot be compiled as a module?
if one thread set its current-flag with PF_NOFREEZE, then it means
this thread is unfreezable,does this mean, when the system entered
into a suspended state, even though all the other threads have already
gone sleep, this thread still keeps awaken?
One thing I am very confused is, if all the
I saw we call IS_ERR(ptr) after executing kthread_run() each time.
But we don't need to call IS_ERR(ptr) after kmalloc().
My understanding is,
the kernel pointer ptr for IS_ERR to check should be page aligned, so
its kernel address should be less than 0xf000(or 0x
f000, 64bits),
I saw we call IS_ERR(ptr) after executing kthread_run() each time.
But we don't need to call IS_ERR(ptr) after kmalloc().
My understanding is,
the kernel pointer ptr for IS_ERR to check should be page aligned, so
its kernel address should be less than 0xf000(or 0x
f000, 64bits),
I saw there are some functions
do_early_param/parse_early_param,seems they are supporting for early
parameters,but what are early parameters?and how they are used?
Regards
Jason
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
I saw there are some functions
do_early_param/parse_early_param,seems they are supporting for early
parameters,but what are early parameters?and how they are used?
Regards
Jason
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
007 at 01:43:10PM +0800, jidong xiao wrote:
> > Anyone can help this?
> >
> > On 6/21/07, jidong xiao <[EMAIL PROTECTED]> wrote:
> > > I searched in linux kernel 2.6.10, didn't find it, then I tried
> > > 2.6.20, it is there. But I am not familiar with ass
:10PM +0800, jidong xiao wrote:
Anyone can help this?
On 6/21/07, jidong xiao [EMAIL PROTECTED] wrote:
I searched in linux kernel 2.6.10, didn't find it, then I tried
2.6.20, it is there. But I am not familiar with assembly language, so
can anybody kindly explain it, I don't know
Anyone can help this?
On 6/21/07, jidong xiao <[EMAIL PROTECTED]> wrote:
> I searched in linux kernel 2.6.10, didn't find it, then I tried
> 2.6.20, it is there. But I am not familiar with assembly language, so
> can anybody kindly explain it, I don't know the difference between
Anyone can help this?
On 6/21/07, jidong xiao [EMAIL PROTECTED] wrote:
I searched in linux kernel 2.6.10, didn't find it, then I tried
2.6.20, it is there. But I am not familiar with assembly language, so
can anybody kindly explain it, I don't know the difference between
KPROBE_ENTRY
I found this function, inside include/asm-i386/irq.h or
include/asm-x86_64/irq.h,
static __inline__ int irq_canonicalize(int irq)
{
return ((irq == 2) ? 9 : irq);
}
there is no comments,so I am totally confused what does this function
mean, why there is a "2", and why there is a "9"?
I found this function, inside include/asm-i386/irq.h or
include/asm-x86_64/irq.h,
static __inline__ int irq_canonicalize(int irq)
{
return ((irq == 2) ? 9 : irq);
}
there is no comments,so I am totally confused what does this function
mean, why there is a 2, and why there is a 9?
and how to subscribe it?
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
and how to subscribe it?
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi,
for example, what does the select statement mean?
config SERIAL_SH_SCI_CONSOLE
bool "Support for console on SH SCI(F)"
depends on SERIAL_SH_SCI=y
select SERIAL_CORE_CONSOLE
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Hi,
for example, what does the select statement mean?
config SERIAL_SH_SCI_CONSOLE
bool Support for console on SH SCI(F)
depends on SERIAL_SH_SCI=y
select SERIAL_CORE_CONSOLE
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
I see struct rw_semaphore is defined in
include/linux/rwsem-spinlock.h,in the meanwhile, I also can find it in
include/asm-**/rwsem.h,for
example,include/asm-i386/rwsem.h,include/asm-x86_64/rwsem.h,why?which
one should be used?
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line
I see struct rw_semaphore is defined in
include/linux/rwsem-spinlock.h,in the meanwhile, I also can find it in
include/asm-**/rwsem.h,for
example,include/asm-i386/rwsem.h,include/asm-x86_64/rwsem.h,why?which
one should be used?
Thanks
Jason Xiao
-
To unsubscribe from this list: send the line
I searched in linux kernel 2.6.10, didn't find it, then I tried
2.6.20, it is there. But I am not familiar with assembly language, so
can anybody kindly explain it, I don't know the difference between
KPROBE_ENTRY and ENTRY, however, I can find both of these items in
some files, such as
I searched in linux kernel 2.6.10, didn't find it, then I tried
2.6.20, it is there. But I am not familiar with assembly language, so
can anybody kindly explain it, I don't know the difference between
KPROBE_ENTRY and ENTRY, however, I can find both of these items in
some files, such as
dma_mask should be a pointer, I mean, the element in struct device, see below,
struct device {
struct list_head node; /* node in sibling list */
struct list_head bus_list; /* node in bus's list */
struct list_head driver_list;
struct list_head
Thanks all.
Is this right?
dev->dev.dma_mask = bus->controller->dma_mask;
printk(KERN_ERR "hey,jason,see,dma_mask is
%llu\n",*(dev->dev.dma_mask));
On 6/15/07, Randy Dunlap <[EMAIL PROTECTED]> wrote:
On Fri, 15 Jun 2007 17:04:00 +0200 Vegard Nossum
For example,
typedef unsigned long long u64;
u64 *dma_mask;
Then how to use printk() to print out a dma_mask variable?
Regards
Jason Xiao
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
For example,
typedef unsigned long long u64;
u64 *dma_mask;
Then how to use printk() to print out a dma_mask variable?
Regards
Jason Xiao
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
Thanks all.
Is this right?
dev-dev.dma_mask = bus-controller-dma_mask;
printk(KERN_ERR hey,jason,see,dma_mask is
%llu\n,*(dev-dev.dma_mask));
On 6/15/07, Randy Dunlap [EMAIL PROTECTED] wrote:
On Fri, 15 Jun 2007 17:04:00 +0200 Vegard Nossum wrote:
On 6/15/07, jidong xiao [EMAIL
dma_mask should be a pointer, I mean, the element in struct device, see below,
struct device {
struct list_head node; /* node in sibling list */
struct list_head bus_list; /* node in bus's list */
struct list_head driver_list;
struct list_head
I found there is such a kernel symbol ".text.lock.spinlock",
for example,
# cat /proc/kallsyms | grep spinlock
8011e440 T bust_spinlocks
802d00fc t .text.lock.spinlock
8832ae20 d state_spinlock [nfs]
but I can not find that who exported such a symbol?I am wondering
I found there is such a kernel symbol .text.lock.spinlock,
for example,
# cat /proc/kallsyms | grep spinlock
8011e440 T bust_spinlocks
802d00fc t .text.lock.spinlock
8832ae20 d state_spinlock [nfs]
but I can not find that who exported such a symbol?I am wondering
48 matches
Mail list logo