<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux-bitkeeper.git/net/irda, branch master</title>
<subtitle>Linux Kernel BitKeeper History</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/atom?h=master</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/'/>
<updated>2005-03-26T17:04:49Z</updated>
<entry>
<title>[NET] make all protos partially use sk_prot</title>
<updated>2005-03-26T17:04:49Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@toy.ghostprotocols.net</email>
</author>
<published>2005-03-26T17:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=15d26df09084ff3a891a696efd0d56b52d852e24'/>
<id>urn:sha1:15d26df09084ff3a891a696efd0d56b52d852e24</id>
<content type='text'>
sk_alloc_slab becomes proto_register, that receives a struct proto not necessarily
completely filled, but at least with the proto name, owner and obj_size (aka proto
specific sock size), with this we can remove the struct sock sk_owner and sk_slab,
using sk-&gt;sk_prot-&gt;{owner,slab} instead.

This patch also makes sk_set_owner not necessary anymore, as at sk_alloc time we
have now access to the struct proto onwer and slab members, so we can bump the
module refcount exactly at sock allocation time. 

Another nice "side effect" is that this patch removes the generic sk_cachep slab
cache, making the only last two protocols that used it use just kmalloc, informing
a struct proto obj_size equal to sizeof(struct sock).

Ah, almost forgot that with this patch it is very easy to use a slab cache, as it is
now created at proto_register time, and all protocols need to use proto_register,
so its just a matter of switching the second parameter of proto_register to '1', heck,
this can be done even at module load time with some small additional patch. 

Another optimization that will be possible in the future is to move the sk_protocol
and sk_type struct sock members to struct proto, but this has to wait for all protocols
to move completely to sk_prot.

This changeset also introduces /proc/net/protocols, that lists the registered protocols
details, some may seem excessive, but I'd like to keep them while working on further 
struct sock hierarchy work and also to realize which protocols are old ones, i.e. that
still use struct proto_ops, etc, yeah, this is a bit of an exaggeration, as all protos
still use struct proto_ops, but in time the idea is to move all to use sk-&gt;sk_prot and
make the proto_ops infrastructure be shared among all protos, reducing one level of
indirection.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@conectiva.com.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IRDA]: Squash warnings introduced by DEBUG cleanups.</title>
<updated>2005-03-22T11:37:26Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@sunset.davemloft.net</email>
</author>
<published>2005-03-22T11:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=2e7eb6cc4a3691a7c6b7585893da9dffccaf3165'/>
<id>urn:sha1:2e7eb6cc4a3691a7c6b7585893da9dffccaf3165</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IRDA]: DEBUG macro fixes</title>
<updated>2005-03-22T11:23:10Z</updated>
<author>
<name>Jean Tourrilhes</name>
<email>jt@hpl.hp.com</email>
</author>
<published>2005-03-22T11:23:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=c6f1a030e92e5188ee086eef3e8c4348b786f368'/>
<id>urn:sha1:c6f1a030e92e5188ee086eef3e8c4348b786f368</id>
<content type='text'>
	o [CRITICA] Eliminate all 'ASSERT(..., break;)' -&gt; use goto;
		That would compile differenty with/without CONFIG_IRDA_DEBUG
	o [CORRECT] Add '()' to IRDA_DEBUG macro to avoid side effects
	o [CORRECT] Add 'do {} while(0)' to IRDA_ASSERT to avoid side effects
	o [FEATURE] Rename ASSERT to IRDA_ASSERT (namespace pollution)
	o [FEATURE] Rename MESSAGE to IRDA_MESSAGE (namespace pollution)
	o [FEATURE] Rename ERROR to IRDA_ERROR (namespace pollution)
	o [FEATURE] Disable IRDA_ASSERT when no CONFIG_IRDA_DEBUG -&gt; footprint

Signed-off-by: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;'
</content>
</entry>
<entry>
<title>[IRDA]: cleanup obsolete construct in IrCOMM</title>
<updated>2005-03-10T08:09:18Z</updated>
<author>
<name>Jean Tourrilhes</name>
<email>jt@hpl.hp.com</email>
</author>
<published>2005-03-10T08:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=47652ae9d5d5c010ee07c1659ad310a9e7236282'/>
<id>urn:sha1:47652ae9d5d5c010ee07c1659ad310a9e7236282</id>
<content type='text'>
cleanup some construct obsoleted by Linus's patch

Signed-off-by: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IRDA]: arbitrary lsap connect</title>
<updated>2005-03-10T08:07:54Z</updated>
<author>
<name>Jean Tourrilhes</name>
<email>jt@hpl.hp.com</email>
</author>
<published>2005-03-10T08:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=591461cfe8e68b17dd246ad05c06baf53228bc24'/>
<id>urn:sha1:591461cfe8e68b17dd246ad05c06baf53228bc24</id>
<content type='text'>
	&lt;Original patch from Iavor Fetvadjie&gt;
allow IrDA socket to connect on arbitrary LSAPs

Signed-off-by: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IRDA]: fix IrNET poll with empty disco log</title>
<updated>2005-03-10T08:04:14Z</updated>
<author>
<name>Jean Tourrilhes</name>
<email>jt@hpl.hp.com</email>
</author>
<published>2005-03-10T08:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=82058a0aa53699f029872891709a0394ef952ed0'/>
<id>urn:sha1:82058a0aa53699f029872891709a0394ef952ed0</id>
<content type='text'>
poll would improperly exit when the discovery log
was empty

Signed-off-by: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IRDA] stop using sk_protinfo</title>
<updated>2005-01-20T19:21:48Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
<email>acme@toy.ghostprotocols.net</email>
</author>
<published>2005-01-20T19:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=591a13f81ca118f5772528e6093c252a0b02be74'/>
<id>urn:sha1:591a13f81ca118f5772528e6093c252a0b02be74</id>
<content type='text'>
Required to introduce struct connection_sock.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@conectiva.com.br&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] various Kconfig fixes</title>
<updated>2005-01-15T07:46:55Z</updated>
<author>
<name>Gabor Egry</name>
<email>gaboregry@axelero.hu</email>
</author>
<published>2005-01-15T07:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=b6efa0d0e6d8419320ed70394518f3b178928e9f'/>
<id>urn:sha1:b6efa0d0e6d8419320ed70394518f3b178928e9f</id>
<content type='text'>
Here are some Kconfig fixes:

- typo fixes
- unused token removes (empty or duplicated  'help')
- non ASCII characters replaces
- e-mail address and URL format corrections

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] make IRDA string tables conditional on CONFIG_IRDA_DEBUG</title>
<updated>2005-01-11T01:21:56Z</updated>
<author>
<name>William Lee Irwin III</name>
<email>wli@holomorphy.com</email>
</author>
<published>2005-01-11T01:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=135a88116e7c5d7ad91430b59634d89ecf8c4bcd'/>
<id>urn:sha1:135a88116e7c5d7ad91430b59634d89ecf8c4bcd</id>
<content type='text'>
There are some string tables only used for debugging printk()'s in IRDA
that trip warnings when CONFIG_IRDA_DEBUG is not set.

This patch makes them conditional on CONFIG_IRDA_DEBUG to silence warnings.

Signed-off-by: William Irwin &lt;wli@holomorphy.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[IRDA]: More staticization becomes possible in ircomm_ttp.c</title>
<updated>2004-12-27T13:04:56Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@nuts.davemloft.net</email>
</author>
<published>2004-12-27T13:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-bitkeeper.git/commit/?id=9f98ce8f2332abb9e1f666988fd03933e4b5bcd9'/>
<id>urn:sha1:9f98ce8f2332abb9e1f666988fd03933e4b5bcd9</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
