lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 11 Jan 2007 00:41:46 +0100
From:	hermann pitton <hermann-pitton@...or.de>
To:	Linux and Kernel Video <video4linux-list@...hat.com>
Cc:	linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [patch] Fix bttv and friends on 64bit machines with lots of
	memory.

Am Mittwoch, den 10.01.2007, 09:58 +0100 schrieb Gerd Hoffmann:
>   Hi,
> 
> We have a DMA32 zone now, lets use it to make sure the card
> can reach the memory we have allocated for the video frame
> buffers.
> 
> please apply,
> 
>   Gerd

Hi,

did anybody already pick up, comment, review Gerd's patch ?

Walks in into his own home like a stranger ...

Gerd, THANKS for all you did.
It was a incredible lot!

Hermann

> einfaches Textdokument-Anlage (v4l-dma32)
> Fix bttv and friends on 64bit machines with lots of memory.
> 
> We have a DMA32 zone now, lets use it to make sure the card
> can reach the memory we have allocated for the video frame
> buffers.
> 
> Signed-off-by: Gerds Hoffmann <kraxel@...e.de>
> ---
>  drivers/media/video/video-buf.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6.18/drivers/media/video/video-buf.c
> ===================================================================
> --- linux-2.6.18.orig/drivers/media/video/video-buf.c
> +++ linux-2.6.18/drivers/media/video/video-buf.c
> @@ -1224,7 +1224,7 @@ videobuf_vm_nopage(struct vm_area_struct
>  		vaddr,vma->vm_start,vma->vm_end);
>  	if (vaddr > vma->vm_end)
>  		return NOPAGE_SIGBUS;
> -	page = alloc_page(GFP_USER);
> +	page = alloc_page(GFP_USER | __GFP_DMA32);
>  	if (!page)
>  		return NOPAGE_OOM;
>  	clear_user_page(page_address(page), vaddr, page);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ