Re: [ovs-dev] [PATCH] json: Use reference counting in json objects

2016-08-28 Thread Ben Pfaff
25 de agosto de 2016 9:28 > To: Rodriguez Betancourt, Esteban > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] json: Use reference counting in json objects > > "dev" wrote on 08/16/2016 04:50:37 PM: > > > From: "Rodriguez Betancourt, Esteba

Re: [ovs-dev] [PATCH] json: Use reference counting in json objects

2016-08-25 Thread Rodriguez Betancourt, Esteban
nd release the old one. Regards, Esteban From: Ryan Moats [mailto:rmo...@us.ibm.com] Sent: jueves, 25 de agosto de 2016 9:28 To: Rodriguez Betancourt, Esteban Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] json: Use reference counting in json objects "dev" wrote on 08

Re: [ovs-dev] [PATCH] json: Use reference counting in json objects

2016-08-25 Thread Ryan Moats
"dev" wrote on 08/16/2016 04:50:37 PM: > From: "Rodriguez Betancourt, Esteban" > To: "dev@openvswitch.org" > Date: 08/16/2016 04:50 PM > Subject: [ovs-dev] [PATCH] json: Use reference counting in json objects > Sent by: "dev" > >

[ovs-dev] [PATCH] json: Use reference counting in json objects

2016-08-16 Thread Rodriguez Betancourt, Esteban
After profiling OVSDB insert performance it was found that some significant portion of its time OVSDB is calling the function json_clone. Also, most of the usages of json_clone never modify the json, just keeps it to prevent it to be freed. With that in mind the struct json, json_create, json_clo