CVS update: samba/source/printing

Andrew Bartlett abartlet at pcug.org.au
Sat Feb 16 13:24:37 EST 2002


Tim Potter wrote:
> 
> Date:   Sat Feb 16 13:03:17 2002
> Author: tpot
> 
> Update of /data/cvs/samba/source/printing
> In directory va:/tmp/cvs-serv4666/printing
> 
> Modified Files:
>       Tag: APPLIANCE_HEAD
>         printing.c
> Log Message:
> Store the printer snum instead of the queue name in the internal print job
> structure.  It turns out we never actually use the queue name and it is
> always passed to print_queue_snum() to return the service number.
> 
> This cuts 50MB(!) off the RSS of smbd when enumerating a queue with 1800
> print jobs in it.

Yikes!

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-cvs mailing list