it takes ony 3 hrs.
you will have 4 chop on your passport from both hk and mainland custom.
and hong kong custom will have your departure(hk->sz) and return(sz->hk) record
stored in their computer.
play safe. it is not worth challenge the reculations.
any problem?