On Wednesday 07 Dec 2011 11:35:36 AM Greg KH wrote:
> On Thu, Dec 08, 2011 at 12:36:43AM +0530, mindentropy wrote:
> > On Thursday 08 Dec 2011 1:38:19 AM Mulyadi Santosa wrote:
> > > On Wed, Dec 7, 2011 at 01:47, mindentropy wrote:
> > > > Hi,
> > > >
On Wednesday 07 Dec 2011 11:07:00 AM Rajat Sharma wrote:
> driver allocating 512M !!?? what kind of driver it is?
>
> -Rajat
>
For a high speed frame grabber. The data would be in bursts the queue is meant
to smoothen the pressure. I am not sure why its surprising since I am using
only 2% of th
On Thursday 08 Dec 2011 1:38:19 AM Mulyadi Santosa wrote:
> On Wed, Dec 7, 2011 at 01:47, mindentropy wrote:
> > Hi,
> >
> > I am trying to allocate 512MB of RAM in my driver loaded as a module,
> > but the OOM killer starts killing all my processes. This machine has
Hi,
I am trying to allocate 512MB of RAM in my driver loaded as a module, but
the OOM killer starts killing all my processes. This machine has around 24GB
RAM and is a 8 core Xeon. The RAM is allocated in page size chunks (i.e.
131072 chunks each of size PAGE_SIZE). I am using a 32 bit kernel
Hi,
Can somebody explain to me what a 'beat' is in data transfer in AXI
protocol ?
The documentations says:
Burst size
--
Table 4-2 shows how the ARSIZE or AWSIZE signal specifies the maximum number of
data bytes to transfer in each beat, or data transfer, within a burst.
On Monday 19 Sep 2011 12:19:29 AM Dave Hylands wrote:
> The way I normally deal with this is to use 2 indicies, a get index
> and a put index. One of the indicies if only ever written by kernel
> space, and the other is only ever written by user space.
>
That is the setup I have now.
>
> You mak
Hi,
I have mmaped a circular queue buffer created in the kernel. Now I want to
mmap the read and write pointers in the queue but I am not sure how to
synchronize the access of the pointers between the kernel and userspace(while
checking sizes for overflow and underflow). How should I go abou
On Saturday 30 Jul 2011 2:23:58 AM Jeff Haran wrote:
> > -Original Message-
> > From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-
> > boun...@kernelnewbies.org] On Behalf Of mindentropy
> > Sent: Friday, July 29, 2011 1:35 PM
> > To: k
Hi,
I am trying to benchmark connector netlink and am passing a file and sending
the same to listening userspace app's using connectors i.e. cat filename >
/dev/myconnector and an app listening. When I do this I always run into
ENOBUFS or "No buffer space available" for files greater than 2MB.
Hi,
In the example of the netlink connector code can somebody clarify if the
coding is not right?
The buf here
(http://lxr.linux.no/#linux+v3.0/Documentation/connector/ucon.c#L114) is 1024
which will be cn_msg. In the nlmsghdr the buf is
128(http://lxr.linux.no/#linux+v3.0/Documentation/con
>do you see any performance implication of scatter-gather?
Not much. In fact its make life easier. I am worried about dma's not
supporting scatter gather and would want to have pretty good performance.
> Just curious to know what sort of device it is targeting 16GB/s?
Not that it would saturate p
>Sorry to kicks in...
Was wondering where you were :)
>hm, quite likely you run out of contigous virtual address space that
>as big as you requested... in above, you requested 16 MiB, right?
Not virtual address space but physical page frames. Yes I requested 16MB.
I want a huge chunk for dma for
>So your question is rather more confined : Whether you can allocate
>physically cotigous memory of 16MB, right? Mapping is not an issue
>here. proper error handling will anyways tell you whether you
>succeeded or not. I think with kmalloc, you may not get memory larger
>than 4MB.
Yes mapping was
>>huge range means you already have huge physical memory to be mapped
>>and user space process has huge virtual memory area to accomodate
>>that. Note that is mapping is specific to one particular process (or
>>threads sharing process address space) so it is fairly possible to
>>establish mmap.
>A
>> If yes what would happen if I mmap a huge range?
>huge range means you already have huge physical memory to be mapped
>and user space process has huge virtual memory area to accomodate
>that. Note that is mapping is specific to one particular process (or
>threads sharing process address space) s
>> When I mmap pages via remap_pfn_page method would the physical frames
>> assigned the linear address be contiguous?
>remap_pfn_range is just going to established a secondary virtual
>address mapping for these pages into the caller process' page tables,
>irrespective of whether these pages have
Hi,
When I mmap pages via remap_pfn_page method would the physical frames
assigned the linear address be contiguous? If yes what would happen if I mmap
a huge range?
Thanks.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists
>I would like
>to know if is possible to get notified(in that kernel module) every time a
>process change its mapped memory.
I might have misread your question. If you are talking about mremap system
call you would have to look at nopage method.
___
Ke
>Hi all,
>I have a device driver that implements a mmap in a char device. I would like
>to know if is possible to get notified(in that kernel module) every time a
>process change its mapped memory. Does anyone know if so?
>Regards,
>Erlon
You would come to know from the mmap file operation righ
Hi,
What is the replacement for IRQF_DISABLED as its simply a noop and will be
deprecated soon? I was going through my floppy controller code and I am not
sure what to use.
Thanks.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
htt
> This way, GRUB doesn't need to know how to decode ELF
> files and the job is left to the kernel code.
GRUB has a elf decoder, but it should have multiboot header.
http://osdev.berlios.de/grub.html#multiboot
Hope this answers your doubt.
___
Kernelne
On Monday 02 May 2011 10:58:45 PM Mulyadi Santosa wrote:
>
> I am not keen regarding char/block device management, but I think you
> should separate those streams.
>
> How? Well, same thing like you open a same file twice, right? You're
> given two different file descriptor. After all, the "open"
On Monday 02 May 2011 10:58:45 PM Mulyadi Santosa wrote:
>
> I am not keen regarding char/block device management, but I think you
> should separate those streams.
>
> How? Well, same thing like you open a same file twice, right? You're
> given two different file descriptor. After all, the "open
Hi,
I have say a crypto device and if I pass a data stream assuming echo "test"
> /dev/aes and when I read it I get an encrypted output. Now if a program
opens the same device twice should and pass different streams should I
differentiate those 2 streams and have encrypted buffers of these 2
On Wednesday 27 Apr 2011 10:03:47 am Prabhu nath wrote:
> My Apologies for top posting. Now in continuation to my previous question.
> Is there a method to know whether segmentation unit is enabled or disabled
> either from Kernel space or user space.
>
> Thanks,
> Prabhu
>
You need to bottom po
On Monday 25 Apr 2011 11:06:08 pm Greg KH wrote:
> On Mon, Apr 25, 2011 at 12:37:58AM -0700, Venkatram Tummala wrote:
> > Hi,
> >
> > I am trying to run 2.6.38(x86_64) with nvidia 7200GS video card with 4GB
> > of RAM.
>
> Then please contact nvidia, they are the only ones that can support
> thei
On Monday 25 Apr 2011 1:07:58 pm Venkatram Tummala wrote:
> Hi,
>
> I am trying to run 2.6.38(x86_64) with nvidia 7200GS video card with 4GB of
> RAM. Although the kernel boots up, i just get a blank screen. I can ssh
> into the system. dmesg shows the following output :
>
> [ 11.535703] NVRM:
On Monday 25 Apr 2011 2:25:10 pm Prabhu nath wrote:
> I understand about Linear virtual address and Physical address. How is the
> logical address generated ? Can you please explain.
>
> Thanks,
> Prabhu
>
> On Wed, Apr 20, 2011 at 9:33 PM, mindentropy wrote:
> > On
On Thursday 21 Apr 2011 6:52:29 am Dave Hylands wrote:
> Hi,
>
> On Wed, Apr 20, 2011 at 11:08 AM, mindentropy wrote:
> > On Wednesday 20 Apr 2011 11:00:17 pm Dave Hylands wrote:
> >> I think that this is true for all of the architectures I've worked
>
On Wednesday 20 Apr 2011 11:00:17 pm Dave Hylands wrote:
> I think that this is true for all of the architectures I've worked
> with (ARM, MIPS, x86). Some architectures (like MIPS) have a
> combination of spaces which are linearly mapped between virtual and
> physical, and mapped spaces (which g
On Wednesday 20 Apr 2011 4:31:08 pm limp wrote:
> Thanks a lot Dace and Vladimir for your replies.
>
> First of all, I forgot to mention that I am talking for x86 architecture.
>
> > The CPU registers will contain the virtual addresses. Each and every
> > time that the CPU tries to access a virtu
On Sunday 03 Apr 2011 2:22:19 am James Light wrote:
> On Sat, Apr 02, 2011 at 11:18:19PM +0530, mindentropy wrote:
> > On Saturday 02 Apr 2011 9:55:35 pm James Light wrote:
> > > To put the physical address into cr3 later.
> > > $swapper_pg_dir is not the
On Sunday 03 Apr 2011 2:22:19 am James Light wrote:
> On Sat, Apr 02, 2011 at 11:18:19PM +0530, mindentropy wrote:
> > On Saturday 02 Apr 2011 9:55:35 pm James Light wrote:
> > > To put the physical address into cr3 later.
> > > $swapper_pg_dir is not the
On Saturday 02 Apr 2011 9:55:35 pm James Light wrote:
>
> To put the physical address into cr3 later.
> $swapper_pg_dir is not the PHYSICAL address of the PGD.
Correct me if I am wrong but a mov $foo,%eax would move the address of foo
variable to eax right? Or is there a macro somewhere where t
Hi All,
In the code http://lxr.linux.no/#linux+v2.6.12/arch/i386/kernel/head.S#L186
I am not able to understand what's the reason for subtracting swapper_pg_dir
with __PAGE_OFFSET(0xc000). i.e. movl $swapper_pg_dir-__PAGE_OFFSET
Shouldn't it be movl $swapper_pg_dir, %eax?
Thanks.
__
On Thursday 27 Jan 2011 12:15:47 pm Mulyadi Santosa wrote:
> On Thu, Jan 27, 2011 at 13:40, prabhu wrote:
> > No, because 32bit code will tell the datatype size and i think pointer
> > variable depends on architecture.
> > So 64 bit processor needs 64 address line to point the data location. So
>
On Wednesday 29 Dec 2010 10:31:37 pm Greg Freemyer wrote:
> On Wed, Dec 29, 2010 at 11:12 AM, Mulyadi Santosa
>
> wrote:
> > On Wed, Dec 29, 2010 at 20:06, Prasad Joshi
wrote:
> >> Hello All,
> >>
> >> ZFS file system has a property called devices. If turned off, ZFS
> >> would not allow acces
37 matches
Mail list logo